Last active
March 27, 2017 13:28
-
-
Save sweetmandm/3776829 to your computer and use it in GitHub Desktop.
some of the most helpful settings & aliases I've come across to include in .bash_profile
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
#aliases | |
alias ..="cd .." | |
alias ...="cd ..; cd .." | |
alias la="ls -a" | |
# Get readable list of network IPs | |
alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" | |
alias myip="dig +short myip.opendns.com @resolver1.opendns.com" | |
alias flush="dscacheutil -flushcache" # Flush DNS cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment