There are two benefits to using shortcuts:
1. sense of accomplishment!
2 efficiency!
Stop your work and learn the best skills in one second. You can do it in five minutes!
"Brown bold" indicates "recommended "!
CTRL-A is equivalent to the Home Key, used to position the cursor to the beginning of the line
CTRL-E is equivalent to the end key, that is, moving the cursor to the end of the row
CTRL-B is equivalent to the left arrow, used to move the cursor to the left
CTRL-F is equivalent to the right arrow, used to move the cursor to the right
CTRL-D is equivalent to the Del key, that is, deleting the character at the cursor
CTRL-K is used to delete all characters starting from the cursor and ending
CTRL-l clear the screen, equivalent to the clear command
CTRL-r enter the history command query status. Then, you can enter several key characters to find the command you used.
CTRL-u is used to delete all characters starting from the cursor to the beginning of the line. It is usually used when the password or command input is incorrect.
CTRL-H delete a character on the left of the cursor
CTRL-W is used to delete a word on the left of the current cursor.
CTRL-P is equivalent to the up arrow, that is, displaying the previous command
CTRL-N is equivalent to the down arrow to display the next command.
CTRL-T is used to flip the character at the cursor and the position of the previous character.(I do not know what the function is. Which of the following knows ?)
CTRL-J is equivalent to the Enter key.
Alt-. used to extract the last word in the History command. Run the history command and then press the shortcut key!
Alt-backspace is used to delete all contents of the row, which is similar to Ctrl-U.
Alt-C is used to convert the characters at the current cursor to uppercase, and the subsequent characters of the word where the cursor is located to lowercase.
Alt-L is used to convert the word where the cursor is located and subsequent characters of the word into lowercase letters.
Alt-u converts the cursor position and all subsequent characters into uppercase letters.
PS: run the bind-p command to view all keyboard bindings.
PS2: ALT shortcuts are rarely used, because they often conflict with the editor.
Over ~