Created
October 4, 2015 01:44
-
-
Save jsz0/dcfc73536aff7c8456cf to your computer and use it in GitHub Desktop.
OSX .bash_profile aliases
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
alias showdisks='diskutil list' | |
alias showdiskio="sudo iotop -P -C 5 10" | |
alias showlogs='multitail -i /var/log/system.log -i /var/log/org.openzfsonosx.zed.log' | |
alias newfinder='open ./' | |
alias showip="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'" | |
alias showpubip="dig +short myip.opendns.com @resolver1.opendns.com" | |
alias showcpu="sysctl -n machdep.cpu.brand_string" | |
alias flushspotlight="sudo mdutil -avE" | |
alias flushdns="sudo killall -HUP mDNSResponder" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment