Skip to content

Instantly share code, notes, and snippets.

@srih4ri
Created July 17, 2011 15:08
Show Gist options
  • Save srih4ri/1087671 to your computer and use it in GitHub Desktop.
Save srih4ri/1087671 to your computer and use it in GitHub Desktop.
See what the internet calls you. Wrote for giving my IP to friends for slimevolley.
curl -s http://checkip.dyndns.com/|cut -d ":" -f 2|cut -d "<" -f 1
#You might want to alias this thing to something shorter. `checkip` in my case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment