Unix

Search for text

grep -r "word" .   
grep -r -b5a5 "GCC_OPTIMIZATION_LEVEL" .  (before/after lines) 

Find large files

sudo find / -size +500000 -print
find . -name "*.svg"
find . -name '*.swift'
alias start-amp='sudo launchctl load /Library/LaunchDaemons/com.cisco.amp.daemon.plist'
alias stop-amp='sudo launchctl unload /Library/LaunchDaemons/com.cisco.amp.daemon.plist'

Command line navigation
https://github.com/0nn0/terminal-mac-cheatsheet

Advertisements
%d bloggers like this: