Skip to content

Instantly share code, notes, and snippets.

@dwallraff
Created September 10, 2016 16:48
Show Gist options
  • Save dwallraff/67167195b8c56eef9ff054429444f1eb to your computer and use it in GitHub Desktop.
Save dwallraff/67167195b8c56eef9ff054429444f1eb to your computer and use it in GitHub Desktop.
Get public IP
curl icanhazip.com
# curl ifconfig.me
# dig +short myip.opendns.com @resolver1.opendns.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment