Ctrl + L Clear the Screen, similar to the clear command
Ctrl + h Delete character before the cursor (Backspace)
Ctrl + u Cut/delete the Line before the cursor to the clipboard.
Esc + t Swap the last two words before the cursor.
Ctrl + _ Undo
For example, to move to a directory ‘sample1’; Type cd sam ; then press TAB and ENTER. type just enough characters to uniquely identify the directory you wish to open.
Special keys: Tab, Backspace, Enter, Esc
Text Terminals send characters (bytes), not key strokes. Special keys such as Tab, Backspace, Enter and Esc are encoded as control characters. Control characters are not printable, they display in the terminal as ^ and are intended to have an effect on applications.
Many terminals will also send control characters for keys in the digit row:
Ctrl+v tells the terminal to not interpret the following character, so Ctrl+v Ctrl-I will display a tab character, similarly Ctrl+v ENTER will display the escape sequence for the Enter key: ^M.
Ctrl + n Next command in history (i.e. walk forward through the command history).
Unless otherwise specified, the contents of this website are (C)Copyright Michael Paquier 2010-2025 and are licensed for use under CC BY-NC-ND 4.0.