Terminal has a lot of shortcut keys, not very good to remember, commonly used here
Ctrl+r enables quick retrieval of used historical commands. Ctrl+r R is the R in retrieve.
CTRL + A: The cursor returns to the beginning of the command. (A:ahead)
CTRL+E: The cursor returns to the end of the command line. (E:end)
Ctrl+w: Remove a word before the cursor
Ctrl+k: Deletes the character at the end of the line at the cursor.
Ctrl+u: Deletes the entire command line text character.
ctrl+y:: Paste ctrl+u,ctrl+k,ctrl+w deleted text .
Ctrl+d Delete prompt after a character or exit or logout
Ctrl+t: Swap two characters before the cursor position
Ctrl+y: Paste or restore the last deleted
Esc+b move to the beginning of the current word
Esc+f move to the end of the current word
Esc+t reverses the position of the cursor and its adjacent words
Esc-c the first letter of the next word, while the cursor advances a word, such as when the cursor rests on a letter of the word, such as the O letter in Word, the O letter is capitalized. And not W.
Esc+u the next word all the letters into uppercase, while the cursor forward a word, ditto, such as the cursor on the O letter, then ord to uppercase, W unchanged.
esc+. Arguments after the previous command
other control keys:
ctrl+b: The cursor moves one character to the beginning of the line. (b:backwards)
Ctrl + F: The cursor moves one character at the end of the line. (f:forwards)
ctrl+h: Removes a character from the beginning of the line.
ctrl+d: Deletes one character at the end of a line.
Ctrl+p: The previous used History command. (p:previous)
CTRL + N: The next use History command. (N:next)
ctrl+t: Swap the character of the cursor and its preceding character.
ctrl+i: Equivalent to Tab key.
Ctrl+o: Equivalent to ctrl+m.
ctrl+m: Equivalent enter key.
CTRL + N equals the direction down direction key.
The ctrl+p corresponds to the direction-up direction key.
Ctrl+s: Make the Terminal daze, still, can make the terminal screen of the fast output stop.
Ctrl+q: Exit Ctrl+s caused by Daze.
CTRL + Z: Enables tasks that are running in the terminal, running in the background. (FG Recovery available)
CTRL + C: Interrupts the task being performed in the terminal.
ctrl+d: You can exit the terminal in the case of an empty command line.
Ctrl+[: Equivalent to the ESC key.
ESC key: Displays all supported terminal commands 3 times in a row.
Tab: command, file name and other auto-complete function.
List of shortcut keys for common Linux terminal command lines