Common shortcut keys:
Ctrl + D deletes one character, which is equivalent to the usual delete key (the command line is equivalent to exit if none of the characters are the same; EOF is also represented when working with multiple lines of standard input)
Ctrl + H backspace deletes one character, equivalent to the usual backspace key
Ctrl + U Delete the characters before the cursor to the beginning of the line
Ctrl + K Deletes the character before the cursor to the end of the line
CTRL + C cancels the current line Input command, which is equivalent to CTRL + BREAK
Ctrl + A cursor moves to the beginning (Ahead of line), equivalent to the usual home key
Ctrl + e cursor moves to end of line
Ctrl + F Cursor moves forward (Forward) one character position
Ctrl + b cursor back (backward) move one character position
Ctrl + L clear screen, equivalent to execute clear command
Ctrl + P brings up the previous (Previous) command in the command history, which is equivalent to the usual up arrow
Ctrl + N brings up the next (next) command in the command history, equivalent to the usual up arrow
Ctrl + R display: Prompt to find relevant historical commands according to user input (Reverse-i-search)
Times Common shortcut keys:
ALT + F Cursor moves forward (Forward) to the next word
ALT + b cursor moves back (backward) to the previous word
Ctrl + W Deletes the beginning of the current word (word) from before the cursor position
Alt + D deletes from the cursor position to the end of the current word
Ctrl + y Pastes the last word that was deleted
Mac OS X (Yosemite) Console Shortcut