Tags: Zhang Xiaxin
The purpose of each command in Linux
1. Query and Toggle Commands
PWD shows where the user is currently located
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/06/44/wKiom1m1NruwpZAOAAAXaLU96RU273.jpg-wh_500x0-wm_ 3-wmp_4-s_4065418139.jpg "style=" Float:none; "title=" Picture 1.jpg "alt=" Wkiom1m1nruwpzaoaaaxalu96ru273.jpg-wh_50 "/>
CD switch
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A4/F5/wKioL1m1Npbh8B7vAABRAdlO1EQ030.jpg-wh_500x0-wm_ 3-wmp_4-s_3550606850.jpg "style=" Float:none; "title=" Picture 2.jpg "alt=" Wkiol1m1npbh8b7vaabradlo1eq030.jpg-wh_50 "/>
Ls View
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/06/44/wKiom1m1NrvQ4tpYAACJOU57oFE482.jpg-wh_500x0-wm_ 3-wmp_4-s_1805501635.jpg "style=" Float:none; "title=" Picture 3.jpg "alt=" Wkiom1m1nrvq4tpyaacjou57ofe482.jpg-wh_50 "/>
Du statistics
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A4/F5/wKioL1m1NpfAlwLjAAA96423KWE977.jpg-wh_500x0-wm_ 3-wmp_4-s_589623620.jpg "style=" Float:none; "title=" Picture 4.jpg "alt=" Wkiol1m1npfalwljaaa96423kwe977.jpg-wh_50 "/>
mkdir creating a directory-p for creating multiple directories
Touch Create File
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/06/44/wKiom1m1Nrzz-Yq1AAB4PwoaID0486.jpg-wh_500x0-wm_ 3-wmp_4-s_3018471504.jpg "style=" Float:none; "title=" Picture 5.jpg "alt=" Wkiom1m1nrzz-yq1aab4pwoaid0486.jpg-wh_50 "/>
ln creates a connection file
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A4/F5/wKioL1m1NpfxTVUCAABLfrx14PQ630.jpg-wh_500x0-wm_ 3-wmp_4-s_2104195330.jpg "style=" Float:none; "title=" Picture 6.jpg "alt=" Wkiol1m1npfxtvucaablfrx14pq630.jpg-wh_50 "/>
CP Replication
MV Move
RM Delete-RF Force Delete no prompt
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/06/44/wKiom1m1Nrzx-NIlAACS9ZErWnQ528.jpg-wh_500x0-wm_ 3-wmp_4-s_73446518.jpg "style=" Float:none; "title=" Picture 7.jpg "alt=" Wkiom1m1nrzx-nilaacs9zerwnq528.jpg-wh_50 "/>
Which is also a search for only the location of the query command
This means locating the command location folder
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/06/44/wKiom1m1NrzBySWEAABd5YhuNaU271.jpg-wh_500x0-wm_ 3-wmp_4-s_4076192223.jpg "style=" Float:none; "title=" Picture 8.jpg "alt=" Wkiom1m1nrzbysweaabd5yhunau271.jpg-wh_50 "/>
Find is also a kind of search
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/A4/F5/wKioL1m1NpfhsijdAAA8Vnvh8AM137.jpg-wh_500x0-wm_ 3-wmp_4-s_1760992289.jpg "style=" Float:none; "title=" Picture 9.jpg "alt=" Wkiol1m1npfhsijdaaa8vnvh8am137.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/06/44/wKiom1m1NryylI80AABEe6Ocuso373.jpg-wh_500x0-wm_ 3-wmp_4-s_329022568.jpg "style=" Float:none; "title=" Picture 10.jpg "alt=" Wkiom1m1nryyli80aabee6ocuso373.jpg-wh_50 "/>
Man help information to view the command's Help information
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A4/F5/wKioL1m1NpewjZn2AAAVX0tlWCQ611.jpg-wh_500x0-wm_ 3-wmp_4-s_2828852833.jpg "style=" Float:none; "title=" Picture 11.jpg "alt=" wkiol1m1npewjzn2aaavx0tlwcq611.jpg-wh_50 "/ >
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A4/F5/wKioL1m1NpiTReqqAAAQK_5VVoQ497.jpg-wh_500x0-wm_ 3-wmp_4-s_3367904631.jpg "style=" Float:none; "title=" Picture 12.jpg "alt=" wkiol1m1npitreqqaaaqk_5vvoq497.jpg-wh_50 "/ >
Use the Man tool to view the man's own manual album information and save it as a man.txt text file.
| Pipe character; ">" redirect output; Col–b filters special symbols, such as carriage returns (black borders), to generate plain text.
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/06/44/wKiom1m1Nr2zgTQMAAAY9mrvpL0153.jpg-wh_500x0-wm_ 3-wmp_4-s_792087385.jpg "style=" Float:none; "title=" Picture 13.jpg "alt=" Wkiom1m1nr2zgtqmaaay9mrvpl0153.jpg-wh_50 "/>
Use the Man tool to view the wget download tool, Date day display hand album information for the tool,
Output time information in "YYYY-MM-DD hh:mm" format with the date command
(Execute command: date+ "%F%R" or date+ "%y-%m-%d%h:%m").
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/06/44/wKiom1m1Nr3wMV8CAAAaCG6DFR0052.jpg-wh_500x0-wm_ 3-wmp_4-s_556610954.jpg "style=" Float:none; "title=" Picture 14.jpg "alt=" Wkiom1m1nr3wmv8caaaacg6dfr0052.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/A4/F5/wKioL1m1NpijXyIhAAAWNQWTm_s349.jpg-wh_500x0-wm_ 3-wmp_4-s_1771458519.jpg "style=" Float:none; "title=" Picture 15.jpg "alt=" wkiol1m1npijxyihaaawnqwtm_s349.jpg-wh_50 "/ >
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/A4/F5/wKioL1m1Npjg6ioZAAAaCq9hieI656.jpg-wh_500x0-wm_ 3-wmp_4-s_1633133199.jpg "style=" Float:none; "title=" Picture 16.jpg "alt=" wkiol1m1npjg6iozaaaacq9hiei656.jpg-wh_50 "/ >
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/06/44/wKiom1m1Nr2De3TbAAAaCq9hieI771.jpg-wh_500x0-wm_ 3-wmp_4-s_260076371.jpg "style=" Float:none; "title=" Picture 17.jpg "alt=" Wkiom1m1nr2de3tbaaaacq9hiei771.jpg-wh_50 "/>
modification date can be used when:d ate-s: minutes: Seconds
LS view shows which commands or programs are in the/sbin directory in a long format
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/06/44/wKiom1m1Nr2jD86iAAAUOe_SaQ4658.jpg-wh_500x0-wm_ 3-wmp_4-s_3526253980.jpg "style=" Float:none; "title=" Picture 18.jpg "alt=" wkiom1m1nr2jd86iaaauoe_saq4658.jpg-wh_50 "/ >
Basic commands in Linux