Shell shortcuts - cheatsheet
Here’s a cheatsheet of useful shell shortcuts, that might be interesting for you.
Ctrl+A
Go to the beginning of a lineCtrl+E
Go to the end of a lineCtrl+R
Quick search through command historyCtrl+L
Clear the screen. This is similar to running theclear
commandCtrl+K
Delete everything from cursor to the endCtrl+U
Delete everything from cursor to the beginningCtrl+C
Stop a running foreground process by sendingSIGINT
Ctrl+Z
Send a running foreground process to background (usefg
command to restore it)Ctrl+S
Suppress all output temporarily (e.g. if there is too much output by a running program)Ctrl+Q
Resume suppressed outputCtrl+W
Delete word leftCtrl+B
Go one char backCtrl+F
Go one char forwardEsc+B
Go one word backEsc+F
Go one word forward
There are a lot more, but these are only the ones that I use regularly