Touch to create a new file
Clear Clear Screen
MV Renaming files
RM Delete File
Rm-rf-r or-R: recursive processing, all files under the specified directory are processed in conjunction with subdirectories;
-F: Forcibly deleting files or directories;
-I: Ask the user before deleting an existing file or directory;
36. | The pipe command directs the left command output to the right.
Panax Notoginseng. < send the file on the right as input to the program on the left
> Write the output of the left command to the file on the right
>> append the output of the left command to the file on the right
40. * Wildcard characters. *.txt-any file ending in txt
A. Find for example: Find. -name "*.txt"-print | Less looks for all files that end in TXT and prints them to the screen, viewing them in the no-command way. The computer will record all eligible content in the current folder and subfolders.
After the cat > Newfile.txt command executes, the characters you hit on the screen are placed in the new Newfile.txt file, ending with ctrl+d
grep Global Regular expression print: global regular Expressions. Use regular expressions to search for text and print the matching lines.
A. Man finds related usages by command name, such as man find, which shows the parameters of the Find command
45.apropos If you don't know the name of the command you need to complete a particular task, you can use a keyword to search for it through the Linux apropos utility
46.ENV Viewing Environment env | grep huguagnqinenv | Less
47.echo is used to print the value of a shell variable in the shell, or to output the specified string directly
48.export export environment variables, or set global environment variables to take effect
49.xargs find related commands by function
50.sudo allows a user to run a command with Superuser privileges
51.su access to Superuser privileges exit directly back to normal user
52.chmod modify file read and Write permissions
53.chown Modified file Owner
54.exit Exit command Line
55. Shutdown Command Poweroff
Halt
Shutdown-h now (root user)
56.reboot restart
Linux file permissions:
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/97/FE/wKiom1k2KL_SeDX3AAI6E9EgRuY262.png "title=" screen shot 2017-06-05 07.14.30.png "alt=" Wkiom1k2kl_sedx3aai6e9egruy262.png "/>
Linux command line-Quick start of command line 2