- 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.
- 觸摸屏實用技術與工程應用
- 龍芯應用開發標準教程
- 電腦軟硬件維修大全(實例精華版)
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 計算機應用與維護基礎教程
- 硬件產品經理手冊:手把手構建智能硬件產品
- 數字邏輯(第3版)
- Artificial Intelligence Business:How you can profit from AI
- Learning Game Physics with Bullet Physics and OpenGL
- 嵌入式系統中的模擬電路設計
- SiFive 經典RISC-V FE310微控制器原理與實踐
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- Arduino BLINK Blueprints
- IP網絡視頻傳輸:技術、標準和應用
- 計算機組裝與維護(慕課版)