Basic moves
==============
1. Move back one character. Ctrl + b
2. Move forward one character. Ctrl + f
3. Delete current character. Ctrl + d
4. Delete previous character. Backspace
5. Undo. Ctrl + -
Moving faster
==============
1. Move to the start of line. Ctrl + a
2. Move to the end of line. Ctrl + e
3. Move forward a word. Meta + f (a word contains alphabets and digits, no symbols)
4. Move backward a word. Meta + b
5. Clear the screen. Ctrl + l
Search the command history
===================
1. Search as you type. Ctrl + r and type the search term; Repeat Ctrl + r to loop through results.
2. Search the last remembered search term. Ctrl + r twice.
3. End the search at current history entry. Ctrl + j
4. Cancel the search and restore original line. Ctrl + g
http://teohm.com/blog/shortcuts-to-move-faster-in-bash-command-line/