CheatsheetΒΆ
Here is a summary of the most useful commands and shortcut to know when you use the terminal.
Common commandsΒΆ
Some of the most useful commands to know:
Common terminal shortcutΒΆ
Some of the most useful shortcut to know:
HistoryΒΆ
Ctrl+R - Search command history interactively.
Ctrl+P - Previous command in history.
Ctrl+N - Next command in history.
Cursor MovementΒΆ
Ctrl+A - Move to the beginning of the line.
Ctrl+E - Move to the end of the line.
Alt+B - Move backward one word.
Alt+F - Move forward one word.
EditingΒΆ
Ctrl+K - Delete (kill) from the cursor to the end of the line.
Ctrl+U - Delete from the cursor to the beginning of the line.
Ctrl+W - Delete the word before the cursor.
Alt+D - Delete the word after the cursor.
Ctrl+Y - Paste (yank) the last deleted text.
VariousΒΆ
Ctrl+L - Clear the screen (similar to clear
command).
Ctrl+C - Interrupt/kill the current process.