View source 
ctrl-a
: Move cursor to beginning of line
ctrl-e
: Move cursor to end of line
ctrl-u
: deletes the current line.
ctrl-k
: deletes the command from the cursor right.
ctrl-w
: deletes the word before the cursor.
ctrl-l
: clears the terminal output