Skip to content

Instantly share code, notes, and snippets.

@sweetmandm
Last active March 27, 2017 13:28
Show Gist options
  • Save sweetmandm/3776829 to your computer and use it in GitHub Desktop.
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
#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