1.1ls-a explicit all files, including hidden files
1.2 Ls-l List-form explicit file name
1.3 ls-l-H list the explicit size and name can also be written LS-ALH (-can be omitted) redirect Ls-alh >xx.txt write information to xx.txt >>xx.tx append information touch. File name. txt Create a hidden file
Ubuntu See Command Help Example: 1. LS--help 2. Man LS (press Q to exit) Note: command as long as it will be good, no need to fall into a vicious circle!
2.Tab can be automatically complete
3.cat can view all the contents of the file
4.history can view the history command!+ How many lines of command can be directly applied
5.rm file name Delete files
6. * Wildcard Example: *.ppt occupies a position to replace n characters after *? wildcard example: 2? Only this one has to find 2 files. 7.more View file contents F B page up and down press Q to exit
Tip: Ls-alh/bin |more by | Let two commands link together
8.CD using the 8.1 cd folder name to enter the folder
8.2 CD ~ Switch to the current user's home directory (/home/user directory)
8.3 CD. Switch to current directory
8.4 CD. Switch to the parent directory CD. /.. Ancestor of Superior Path
8.5 CD-access to the last directory
9.mkdir File name Create folder
10. From the current path to the current path from the root directory is the absolute path
2018-4-19 16:54:47
Linux basic commands are used