TRL key combination
CTRL + A: The cursor moves to the beginning of the line.
CTRL+B: The cursor moves left one letter
CTRL + C: kills the current process.
Ctrl+d: Exits the current Shell.
Ctrl+e: The cursor moves to the end of the line.
Ctrl+h: Deletes the previous character of the cursor, same as the BACKSPACE key.
Ctrl+k: Clears the contents of the cursor to the end of the line.
Ctrl+l: Clear screen, equivalent to clear.
Ctrl+r: Search for previously played commands. There will be a hint to search for the history of bash based on the keywords you entered
Ctrl+u: Clears all content before the cursor to the beginning of the line.
Ctrl+w: Remove a word before the cursor
Ctrl+t: Swap two characters before the cursor position
Ctrl+y: Paste or restore the last delete
Ctrl+d: Delete the letter of the cursor, note the difference between backspace and ctrl+h, and these 2 are the characters before the cursor is deleted.
CTRL+F: Cursor Right Shift
CTRL + Z: Move the current process to the background and use the ' FG ' command to recover. Like top-d1 then CTRL + Z, into the background, then FG, re-restore
ESC Combination
Esc+d: Delete A word after the cursor
Esc+f: Jump Right One word
Esc+b: Jump to the left one word
Esc+t: Swap The two words before the cursor position.
bash Shell shortcut keys