PWD: View your current directory
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/86/2A/wKioL1e2sSHw377mAAAJPUEdWqo237.png-wh_500x0-wm_3 -wmp_4-s_1110271765.png "title=" capture. PNG "alt=" Wkiol1e2sshw377maaajpuedwqo237.png-wh_50 "/>
mkdir: Create an empty directory mkdir directory name
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/86/2A/wKioL1e2shjhXweXAABE4zO33-Q431.png-wh_500x0-wm_3 -wmp_4-s_500476593.png "title=" capture. PNG "alt=" Wkiol1e2shjhxwexaabe4zo33-q431.png-wh_50 "/>
3. Mkdir-p: Automatically create a nonexistent directory mkdir-p/root/directory 1/directory 2/...
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/2B/wKiom1e2tlSSObBxAABZjAgQXLg770.png-wh_500x0-wm_3 -wmp_4-s_3546933260.png "title=" capture. PNG "alt=" Wkiom1e2tlssobbxaabzjagqxlg770.png-wh_50 "/>
4. RmDir: Delete empty directory mkdir/root/directory name
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/86/2B/wKiom1e2t7LSddI8AABKrVYKvsw582.png-wh_500x0-wm_3 -wmp_4-s_2342547696.png "title=" capture. PNG "alt=" Wkiom1e2t7lsddi8aabkrvykvsw582.png-wh_50 "/>
5. RM: Remove file RM file name
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/86/2B/wKiom1e2uSfTTpzlAABMKXo-vkE040.png-wh_500x0-wm_3 -wmp_4-s_3197019752.png "title=" capture. PNG "alt=" Wkiom1e2usfttpzlaabmkxo-vke040.png-wh_50 "/>
6. Rm-r: Delete all files under directory and its directory rm-r/root/directory name
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/86/2B/wKioL1e2uomi58znAABEXULqT_I951.png-wh_500x0-wm_3 -wmp_4-s_1683684820.png "title=" capture. PNG "alt=" Wkiol1e2uomi58znaabexulqt_i951.png-wh_50 "/>
7. CP: Copy file CP source file destination folder
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/2C/wKiom1e2vTyQB3SCAABFbEIEktQ033.png-wh_500x0-wm_3 -wmp_4-s_400773246.png "title=" capture. PNG "alt=" Wkiom1e2vtyqb3scaabfbeiektq033.png-wh_50 "/>
8. Simultaneously copy a folder under multiple files to another folder CP source file 1 source file 2 ... Destination Folder
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/86/2C/wKioL1e2viCgK_d9AABHWb5Hq74261.png-wh_500x0-wm_3 -wmp_4-s_2955466090.png "title=" capture. PNG "alt=" Wkiol1e2vicgk_d9aabhwb5hq74261.png-wh_50 "/>
9. Cp-r: Copy folder cp-r folder destination folder
-P: Preserve file group, owner, timestamp information when copying files
-A: Keep all file attributes, often used for backup
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/86/2C/wKiom1e2wCnS1_bLAABKQCKPCTw640.png "title=" capture. PNG "alt=" Wkiom1e2wcns1_blaabkqckpctw640.png "/>
MV: Moving files or folders mv source files (folders) destination folder
Note: The directory is moved, not the non-directory can be overwritten
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/86/2C/wKioL1e2wV2wSBW6AAAzvpc92RE187.png-wh_500x0-wm_3 -wmp_4-s_4270469993.png "title=" capture. PNG "alt=" Wkiol1e2wv2wsbw6aaazvpc92re187.png-wh_50 "/>
11. Renaming: mv source file Rename name
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/86/2C/wKiom1e2wj6AmUixAABIB_TXyzE728.png-wh_500x0-wm_3 -wmp_4-s_621329643.png "title=" capture. PNG "alt=" Wkiom1e2wj6amuixaabib_txyze728.png-wh_50 "/>
Stat: View the time properties of a file stat file name
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/86/2C/wKiom1e2wqmQEUmTAAA5LQgGJkI209.png-wh_500x0-wm_3 -wmp_4-s_1226592949.png "title=" capture. PNG "alt=" Wkiom1e2wqmqeumtaaa5lqggjki209.png-wh_50 "/>
Touch: Modify the file timestamp (created automatically when the file does not exist) Touch file name
-C: Do not create if the file does not exist
-A: Modify access time-M: Modify modification Time-T: Specify modified Time
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/86/2D/wKioL1e2w5OQrgl3AABH0Q3V2bE937.png-wh_500x0-wm_3 -wmp_4-s_1675138702.png "title=" capture. PNG "alt=" Wkiol1e2w5oqrgl3aabh0q3v2be937.png-wh_50 "/>
Touch-a: Modify access time touch-a file name
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/86/2D/wKioL1e2xRvCTdxmAAB4n-Wuyyw713.png-wh_500x0-wm_3 -wmp_4-s_326378057.png "title=" capture. PNG "alt=" Wkiol1e2xrvctdxmaab4n-wuyyw713.png-wh_50 "/>
TOUCH-T: Specify the modified time touch-m-t 201212121212 file name
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/86/2D/wKioL1e2xhDByxIKAAA--X8hMqk109.png-wh_500x0-wm_3 -wmp_4-s_892323760.png "title=" capture. PNG "alt=" Wkiol1e2xhdbyxikaaa--x8hmqk109.png-wh_50 "/>
. LS: Lists the content in the specified directory ls directory
-L: Show file detail Property information (long format)
-A: Show All Files-h: File byte unit conversion
-R: View subdirectories and files under directory-D: Show directory Self properties
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/2D/wKioL1e2xuvC5V5fAAA1JXWObRk183.png-wh_500x0-wm_3 -wmp_4-s_3116342205.png "title=" capture. PNG "alt=" Wkiol1e2xuvc5v5faaa1jxwobrk183.png-wh_50 "/>
-H: File byte unit conversion LS-LH directory
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/86/2D/wKioL1e2x1uR3AxbAAA8zmtMjxw052.png-wh_500x0-wm_3 -wmp_4-s_1619727560.png "title=" capture. PNG "alt=" Wkiol1e2x1ur3axbaaa8zmtmjxw052.png-wh_50 "/>
Files: Viewing file content Type file files
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/86/2D/wKioL1e2yIWiZKoBAAAO2JDqaMY060.png-wh_500x0-wm_3 -wmp_4-s_4071313418.png "title=" capture. PNG "alt=" Wkiol1e2yiwizkobaaao2jdqamy060.png-wh_50 "/>
CD: Switch directory CD directory
Switch to the home directory CD last directory and the current directory to switch back and forth CD-
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/86/2D/wKiom1e2yXnA2FW9AAAIxDYUDeY532.png-wh_500x0-wm_3 -wmp_4-s_3647907826.png "title=" capture. PNG "alt=" Wkiom1e2yxna2fw9aaaixdyudey532.png-wh_50 "/>
Echo: Echoing echo "What to display"
-N: Display the content without wrapping
-E: Let escape characters take effect
\ n: line break \ t: Transverse tab \v: Portrait tab
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/86/2D/wKioL1e2y5bTHXIOAAAM6K-Fr08184.png-wh_500x0-wm_3 -wmp_4-s_809467300.png "title=" capture. PNG "alt=" Wkiol1e2y5bthxioaaam6k-fr08184.png-wh_50 "/>
\ n: Wrap echo "Content 1\n content 2"
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/86/2D/wKioL1e2zHniSoCuAAAOp6vKnNI408.png-wh_500x0-wm_3 -wmp_4-s_613608325.png "title=" capture. PNG "alt=" Wkiol1e2zhnisocuaaaop6vknni408.png-wh_50 "/>
printf: Display content (default no wrap) printf "What to display"
/n: Wrap printf "What to display \ n"
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/86/2D/wKiom1e2zUeiYMVtAAARm1dMA6A578.png-wh_500x0-wm_3 -wmp_4-s_4180789461.png "title=" capture. PNG "alt=" Wkiom1e2zueiymvtaaarm1dma6a578.png-wh_50 "/>
Cat: Displaying the contents of two text connected cat Text 1 text 2
-N: Output line number to file-e: Display line trailing Terminator $
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/86/2D/wKiom1e2zi2j1I65AABzzvSNx3c015.png-wh_500x0-wm_3 -wmp_4-s_3543933344.png "title=" capture. PNG "alt=" Wkiom1e2zi2j1i65aabzzvsnx3c015.png-wh_50 "/>
-N: Output line number to file cat-n file
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/86/2D/wKiom1e2ztLxzK10AABlLLesMVM430.png-wh_500x0-wm_3 -wmp_4-s_1660202141.png "title=" capture. PNG "alt=" Wkiom1e2ztlxzk10aablllesmvm430.png-wh_50 "/>
Date: Display system time date
date +%c: Show verbose time date +s%: From January 1, 1970 0:0 to present the past how many seconds
Hwclock: Display hardware clock hwclock
This article is from the "Find Lost Self" blog, please make sure to keep this source http://xzw1243078569.blog.51cto.com/11757934/1840368
Linux shipped Koriyuki Linux operating system common commands