Bash terminal keyboard shortcuts
Below are some terminal keyboard shortcuts:
Cursor Movement Control
Ctrl-a: Move cursor to the start of a line
Ctrl-e: Move cursor to the end of a line
Ctrl-f/Ctrl-b: Navigate word by word
Modify Text
Ctrl-w: Delete the whole word to the left of the cursor
Ctrl-k: Erase to end of line
Ctrl-u: Erase to beginning of line
Scrolling/Buffer Control
Shift-PageUp/PageDown: Scroll through current buffer
Ctrl-s: Pause terminal output (program will keep running).
Ctrl-q: Release terminal output (after being paused).
Ctrl-l: Clears the screen. Use this instead of the clear command.