Ctrl+C |
Kill / interrupt current process |
Ctrl+Z |
Suspend process to background |
Ctrl+D |
Exit shell / send EOF |
Ctrl+L |
Clear the screen |
Ctrl+A |
Move cursor to start of line |
Ctrl+E |
Move cursor to end of line |
Ctrl+U |
Delete from cursor to start of line |
Ctrl+K |
Delete from cursor to end of line |
Ctrl+W |
Delete word before cursor |
Ctrl+R |
Reverse search through history |
Up / Down arrows |
Navigate command history |
Tab |
Autocomplete command or filename |
!! |
Repeat the last command |
!$ |
Last argument of the previous command |
Alt+F / Alt+B |
Move forward / backward one word |
Ctrl+Shift+C |
Copy selected text in terminal |
Ctrl+Shift+V |
Paste in terminal |
Ctrl+X Ctrl+E |
Edit current command in $EDITOR |
jobs |
List background processes |
fg |
Bring most recent background job to foreground |