Input
Ctrl + a # Move the cursor to the beginning of the current line.
Ctrl + e # Move the cursor to the end of the current line.
Alt + b # Move the cursor to the beginning of the current or previous word.
Alt + f # Move the cursor to the end of the next word. Again, like with all shortcuts that use Alt as the modifier
Tab # Autocomplete commands and file names.
Ctrl + u # Erase the current line.
Ctrl + k # Delete the line from the position of the cursor to the end of the line.
Ctrl + w # Delete the word before the cursor.