# | Action | Key Combo |
---|---|---|
Navigation & Editing | ||
1 | Move to the beginning of the line | Ctrl + A |
2 | Move to the end of the line | Ctrl + E |
3 | Clear everything before the cursor | Ctrl + U |
4 | Delete everything after the cursor | Ctrl + K |
5 | Delete the previous word | Ctrl + W |
6 | Move back one word | Alt + B |
7 | Move forward one word | Alt + F |
History & Commands | ||
8 | Search command history | Ctrl + R |
9 | Run the previous command | !! |
10 | Run the last command that starts with 'abc' | !abc |
11 | Undo the last edit | Ctrl + _ |
Miscellaneous | ||
12 | Clear the terminal screen | Ctrl + L |
13 | Terminate the current command | Ctrl + C |
14 | Exit the terminal session | Ctrl + D |
15 | Autocomplete command/filename | Tab |