Python: Linux common commands

1) ls view the contents of the current folder

2) pwd view the current path

3) Clear screen

4) mkdir create folder

5) touch create file

6) rm delete file rm -r delete folder

7) cp copy

8) mv move, rename

9)> Redirect

10) more split screen display

11) | Pipe the output of one command can be used as the input of another command through the pipeline

12) cat view or merge file content

13) tree displays the contents of the folder in the shape of a tree

14) ln hard link ln -s soft link

15) tar is packed into compressed files

16) Unzip gzip

17) find search file

18) grep search file content

19) Zipped file

20) Unzip with uzip

21) chmod file permissions rwx read and write execution

22) Who view logged in users

23) ifconfig View or configure network card information

24) Ping test whether the network is safe

 

Guess you like

Origin www.cnblogs.com/hxyzy/p/12688016.html