Command line editing keys in 'bash' shell


Backspace over character to the left of cursor Backspace
Delete all characters to the left of cursor Control-u
Move cursor left Left Arrow
Move cursor right Right Arrow
Move cursor to beginning Home
Move cursor to end End
Scroll up through previously command history Up Arrow
Scroll down through previously command history Down Arrow
File name completion Tab
Run command line Return

Other terminal keys

Interrupt currently running process Control-c
Quit currently running process Control-\
Standard input end-of-file Control-d