Skip to content

Instantly share code, notes, and snippets.

@sramam
Created March 21, 2013 02:00
Show Gist options
  • Save sramam/5210145 to your computer and use it in GitHub Desktop.
Save sramam/5210145 to your computer and use it in GitHub Desktop.
checkmyip from the command line
curl -s -S http://checkip.dyndns.org | sed -n -e 's/.*Current IP Address: \([^<]*\)<.*/\1/p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment