Created
February 25, 2016 17:40
-
-
Save jeongho/d34cbb88ff2c14344392 to your computer and use it in GitHub Desktop.
check public ip
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
#!/usr/bin/env bash | |
curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//' | |
#wget -qO- http://ipecho.net/plain ; echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment