- Clean up the line: You can use
Ctrl+U
to clear up to the beginning. - Clean up the line:
Ctrl+A
Ctrl+K
to wipe the current line in the terminal - Cancel the current command/line:
Ctrl+C
. - Recall the deleted command:
Ctrl+Y
- Go at the beginning of the line:
Ctrl+A
- Go at the end of the line:
Ctrl+E
- Remove the forward words for example, if you are middle of the command:
Ctrl+K
- Remove characters on the left, until the beginning of the word:
Ctrl+W
- To clear your entire command prompt:
Ctrl + L
- Toggle between the start of line and current cursor position:
Ctrl + XX
Last active
August 29, 2015 14:19
-
-
Save jackinf/490746b4362a81d13237 to your computer and use it in GitHub Desktop.
[MAC OS X] [Terminal] Essential terminal commands
This file contains hidden or 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
# 1. add Sublime Text 3 to terminal | |
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment