source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
- Ctrl + a β go to the start of the command line
- Ctrl + e β go to the end of the command line
- Ctrl + k β delete from cursor to the end of the command line
- Ctrl + u β delete from cursor to the start of the command line
- Ctrl + w β delete from cursor to start of word (i.e. delete backwards one word)
- Ctrl + y β paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor