8.1 Shell Introduction
.
Find out if there are any of these 2 installation files
8.2 Command History
Ring Qianjing 1000, so only 1000 records can be saved
‘
Sometimes more than 1000, that is because the input command has not been written into this file, only in memory
History-c is a record that deletes memory and does not delete the configuration file of the saved command
It is only saved to the configuration file when you exit the terminal.
Vi/etc/profile Modify the histsize=5000, save the exit after the source value will be changed
Change the mode of the variable, only in the current terminal effective%y year%m month%d day%h%m minutes%s seconds
To make the other terminal effective, add it to the profile configuration file
8.3 Command Completion and aliases
aliases, you can only search out these few
The rest is here.
Alias to do aliases
Remove Alias
8.4 Wildcard 8.5 input and output redirection
Output the wrong content to 2.txt
+2> = &> indicates correct and incorrect information, Aaa.txt is not a file, so there are error messages, all written into the a.txt inside
You can also add all &>> to A.txt
It is also possible to write the correct output into a file, and the wrong output to write another file
8.1shell Introduction 8.2 Command History 8.3 command completion and alias 8.4 wildcard 8.5 input and output redirect