Skip to content

Instantly share code, notes, and snippets.

@rubencabrera
Created September 4, 2018 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubencabrera/676e96dfcfc9a9742622a462bd3064af to your computer and use it in GitHub Desktop.
Save rubencabrera/676e96dfcfc9a9742622a462bd3064af to your computer and use it in GitHub Desktop.
Get public IP from command line
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