Skip to content

Instantly share code, notes, and snippets.

@theothermattm
Created March 8, 2013 21:33
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 theothermattm/5120059 to your computer and use it in GitHub Desktop.
Save theothermattm/5120059 to your computer and use it in GitHub Desktop.
Find the *public* IP of a host (got this from a handy StackExchange post)
wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment