Bash Shortcuts

Bash Shortcuts to increase your productivity

Posted on February 24, 2015

The bash shell has a number of shortcuts that make life a bit easier.
Here are a few of my favourites.

Ctrl + a : Go to start of line
Ctrl + e : Go to the end of line
Ctrl + k : Delete from cursor to end of line
Ctrl + u : Delete from cursor to start of line
Ctrl + w : Delete previous word
Ctrl + r : Search history (type part of he command you’re searching for)
Ctrl + l : Clear the screen
Ctrl + c : Terminate the command
!! : Run last command