Created
October 21, 2018 16:33
-
-
Save smellslikeml/ffbd3c63f290caf0800e3f125a427404 to your computer and use it in GitHub Desktop.
bash_get_ip
This file contains 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 's#.*Address: \(.*\)</b.*#\1#' | |
wget -qO - ipv4bot.whatismyipaddress.com | |
curl 'https://api.ipify.org?format=txt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment