Linux Study Notes-common shortcut keys in the command line
This section describes several common shortcut keys in Linux Bash Shell.
Delete shortcut keys:
"Ctrl + k" delete all characters after the cursor "ctrl + u" delete all characters before the cursor "ctrl + w" Delete the word before the cursor "ctrl + y" Restore "ctrl + k "," ctrl + u "," ctrl + w ", and other characters deleted during the last execution" ctrl +? "Undo the previous input
Mobile shortcut keys:
"Ctrl + a" move the cursor to the beginning of the command line "ctrl + e" move the cursor to the end of the command line "ctrl + →" move the cursor to the beginning of the last word "ctrl + ←" move the cursor end of the previous word
Shortcut Keys for searching History commands:
"Found" find the last executed command "found" find the next executed command "ctrl + p" find the last executed command "ctrl + r" Enter the word search history command
Other shortcut keys:
"Ctrl + c" Force terminate the current command "ctrl + l" clear screen, equivalent to the "clear" command "TAB" command or directory auto-completion "ctrl + s" lock terminal "ctrl + q" unlock terminal "alt + r" Xshell shortcut, making Xshell tool translucent
There are many other shortcut keys in Linux Command lines. Here we mainly introduce several commonly used shortcut keys.
After the shortcut key is used, it immediately becomes too tall to knock on the code.