Created
November 24, 2014 19:43
-
-
Save bmorwood/ee5cac820cc5805a5e3a to your computer and use it in GitHub Desktop.
love-your-terminal.sh
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
# search your command-line history | |
history | grep 'querySelector' | |
# copy to clipboard | |
echo 'Hello World!' | pbcopy | |
# unzip an archive to the current directory | |
unzip -l images.zip | |
# find out what process are taking up the most memory | |
top -o vsize | |
# run the last command with sudo | |
sudo !! | |
# use spotlight to search from command-line | |
mdfind <keyword> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment