Created
April 1, 2015 18:57
-
-
Save vsudilov/b970efbcf4837f998933 to your computer and use it in GitHub Desktop.
curl+sed to check+parse public ip addr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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