Ctrl-A
returns cursor to the beginning of current line
Ctrl-E
moves cursor to the end of the line
Ctrl-K
deletes the rest of the line, beginning from the cursor
Ctrl-A
returns cursor to the beginning of current line
Ctrl-E
moves cursor to the end of the line
Ctrl-K
deletes the rest of the line, beginning from the cursor