Skip to content

Instantly share code, notes, and snippets.

@vsudilov
Created April 1, 2015 18:57
Show Gist options
  • Save vsudilov/b970efbcf4837f998933 to your computer and use it in GitHub Desktop.
Save vsudilov/b970efbcf4837f998933 to your computer and use it in GitHub Desktop.
curl+sed to check+parse public ip addr
curl -s 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