Skip to content

Instantly share code, notes, and snippets.

@markcarrrr
Last active March 11, 2018 13:36
Show Gist options
  • Save markcarrrr/31c2c88780e3fc5e4b82 to your computer and use it in GitHub Desktop.
Save markcarrrr/31c2c88780e3fc5e4b82 to your computer and use it in GitHub Desktop.
A list of common CLI keyboard commands

Ctrl+U - Clear all left of cursor
Ctrl+C - Cancel the current command/line
Ctrl+A - Goto the beginning of the line
Ctrl+E - Goto the end of the line
Ctrl+K - Remove all to the right
Ctrl+W - Remove whole word to the left
Ctrl+Y - Reinstate deleted command
Ctrl+L - Scroll prompt to top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment