CTRL + A ----------------------- move the cursor to the beginning
CTRL + E ----------------------- move the cursor to the end of the line
CTRL + K ----------------------- After you remove the cursor all the things
CTRL + U ----------------------- delete everything before the cursor
CTRL + W ---------------------- content before the cursor is deleted in accordance with the word
CTRL + L ----------------------- = clear clears the screen
CTRL + R ----------------------- command executed the search history (according to search keywords)
CTRL + C ----------------------- end of the currently executing process running in the foreground window Bash
CTRL + D ----------------------- exit the current Bash Shell = logout
CTRL + Y ----------------------- withdraw Not Yet ...
Second, the application alias
Alias function setting command aliases, shorthand command, improving operational efficiency. Of course, for a user-defined alias, only the currently logged-effective period; it can modify the configuration file so that the long term.
Valid alias during landing
It is simply bash in a window where you set up a temporary alias, log out, or change the alias window invalid. Such as: Name cat / etc / sysconfig / network- scripts / ifcfg-ens32 for the net.
Cancellation temporary alias:
Long-term effective Alias
Whether long-term alias is out the window or change, this life is still not entered into force: the alias write the configuration file, so that our Shell login window automatically loaded.
Third, history History
history effects: 1 can record all of our operations, we did prior to facilitating subsequent retroactive what. 2. be able to quickly pull up a secondary command was executed.
The "history" history: ! N ------------------ call to the N-th history of the history of operations performed again ! ! ------------------ quick call on a command over the ESC + "." ------------- quickly pull on a command parameter
"History" in the history of the application parameters of record: -w saved history commands executed in the shell, to a file stored --------------- history -w (save to the ~ / .bash_history) -c clear the command history, will not clear the history -c file --------------- -d command to delete Article N --------- history ------ history -d N