- Raspberry Pi Computer Architecture Essentials
- Andrew K. Dennis
- 179字
- 2021-07-16 12:40:27
Some handy Linux commands
The following Linux commands are very useful and you will find yourself using them often. Remember you can type man command where command is the command you are interested in at any time to learn more about it and the parameters it accepts.
Tip
Most commands also contain a more concise set of documentation under help as well.
The cd command allows you to change directories:
cd /home/pi
The touch command creates an empty file:
touch test.txt
The cp command can be used to copy files:
cp /home/pi/test.txt /home/newuser/test.txt
The mv command can be used to move a file or rename a file:
mv /home/pi/test.txt /home/pi/test2.txt
The rm command will remove a file or directory depending on the flag used:
rm text.txt
To find out which directory you are in you can use the pwd (present working directory) command:
pwd
If you wish to list the contents of a directory you can use the ls command:
ls
To learn more about basic Linux commands, the Debian operating system website provides a in-depth guide at https://www.debian.org/doc/manuals/user/ch6.html.
- 電腦組裝與維修從入門到精通(第2版)
- 基于ARM的嵌入式系統和物聯網開發
- 電腦組裝、維護、維修全能一本通(全彩版)
- Mastering Manga Studio 5
- Mastering Adobe Photoshop Elements
- 固態存儲:原理、架構與數據安全
- 筆記本電腦使用、維護與故障排除從入門到精通(第5版)
- SiFive 經典RISC-V FE310微控制器原理與實踐
- 超大流量分布式系統架構解決方案:人人都是架構師2.0
- Hands-On Artificial Intelligence for Banking
- 深入理解序列化與反序列化
- 龍芯自主可信計算及應用
- Hands-On Deep Learning for Images with TensorFlow
- FPGA實戰訓練精粹
- 電腦主板維修技術