A list of shortcut keys for quick Linux terminal command line operations.
Ctrl + r allows you to quickly retrieve used historical commands. In Ctrl + r, r is in retrieve.
Ctrl + a: move the cursor back to the beginning of the command line. (A: ahead)
Ctrl + e: move the cursor back to the end of the command line. (E: end)
Ctrl + w: Delete the character from the cursor to the beginning of the line.
Ctrl + k: Delete the character from the cursor to the end of the line.
Ctrl + u: Delete the entire command line text character.
Ctrl + y: paste Ctrl + u, Ctrl + k, Ctrl + w to delete the text.
Other control keys:
Ctrl + B: move the cursor to the first character of the line. (B: backwards)
Ctrl + f: Move a character to the end of the line. (F: forwards)
Ctrl + h: delete a character from the beginning of the line.
Ctrl + d: delete a character from the end of the line.
Ctrl + p: the previous historical command. (P: previous)
Ctrl + n: The next historical command. (N: next)
Ctrl + t: The character where the cursor is located and the character before it.
Ctrl + I: equivalent to the Tab key.
Ctrl + o: equivalent to Ctrl + m.
Ctrl + m: equivalent to the Enter key.
Ctrl + n is equivalent to the downward direction key.
Ctrl + p is equivalent to the direction key in the upward direction.
Ctrl + s: to make the terminal daze and static, you can stop the terminal screen for quick output.
Ctrl + q: exit the daze caused by Ctrl + s.
Ctrl + z: run the task running on the terminal on the background. (Fg recovery available)
Ctrl + c: The task being executed on the interrupt terminal.
Ctrl + d: exit the terminal if the command line is empty.
Ctrl + [: equivalent to the Esc key.
Esc key: displays all supported terminal commands three times in a row.
Tab: Automatic completion of commands, file names, and other functions.