Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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