This repository has been archived on 2023-07-05. You can view files and clone it, but cannot push or open issues/pull-requests.
notes/Terminal Tips/Commands + Settings/Command Shortcuts.md

957 B

What was the command again?

For when you run into those inevitable "how do I command to do that again?" moments to your trusty terminal. Remember: Communication is key

find password of public wifi network ;

security find-generic password -wa "James Coffee Co" | pbcopy

--> returns the password then pbcopy, copies output

change screenshot options:

#changes screenshot type 
defaults  write  com.apple.screencapture type  jpg 

#changes screenshot location folder
defaults  write com.apple.screencapture location ~/Desktop/screenshots

Show which processes using most CPU/memory

top -o rsize

Download things:

curl urlname > filelocation

Use touch id instead of sudo password

sudo nano /etc/pam.d/sudo

and then

auth sufficient pam_tid.so