Last active
March 23, 2020 15:55
-
-
Save akahn/d7b7fd13b2a73cfa925d9e1fb5801a58 to your computer and use it in GitHub Desktop.
Some helpful keyboard shortcuts for bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jump forward/back one word | |
alt-b/alt-f | |
Go to beginning/end of line | |
^a/^e | |
Delete to beginning of command | |
^u | |
Navigate through history of commands (this works in many places in OS X) | |
ctrl-p/ctrl-n | |
Open current command line in editor (exiting editor executes the command) | |
^x^e | |
Pull last command's arguments into current command | |
alt-. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment