Skip to content

Instantly share code, notes, and snippets.

@adrianalonso
Created September 5, 2016 15:22
Show Gist options
  • Save adrianalonso/4ad5d87a3f056993c2eed29d2ed97b9b to your computer and use it in GitHub Desktop.
Save adrianalonso/4ad5d87a3f056993c2eed29d2ed97b9b to your computer and use it in GitHub Desktop.
Command for determining my public IP
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
wget http://ipinfo.io/ip -qO -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment