Linux learning: some basic command operations of Linux system

Organize the basic Linux operating commands as follows:
1. View the contents of the directory: ls
2. Enter the directory: cd
Insert picture description here
3. Create a directory: mkdir directory
4. Create a multi-level directory: mkdir -p directory
Insert picture description here
5. Create a blank file: touch file
Insert picture description here
6. Move file/directory and rename: mv
Insert picture description here
7, copy cp + file + directory
8, copy directory cp -r + directory + target directory
Insert picture description here
9, delete file: rm
10, delete directory: rm -r
Insert picture description here11, query directory tree structure: tree
!](https://img-blog.csdnimg.cn/20200330161155515.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTgxMjc4NA==,size_16,color_FFFFFF,t_70)
12. Get the directory path: pwd
Insert picture description here
13. Commonly used shortcut keys
Insert picture description here
Command arrangement:
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_41812784/article/details/105201560