Control-A Beginning of Line Control-E End of Line Control-W Delete Word Control-B Back a Character Control-F Forward a Character Escape-B Back a Word Escape-F Forward a Word Escape-. Cycles back through previous arguments Control-K Clear line after cursor Control-U Clear line before the cursor Control-L Clear screen, but keep current line To turn on vi key bindings: set -o vi To turn on emacs key bindings: set -o emacs
cheat sheets.
$ cheat terminal