Created
July 23, 2019 18:50
-
-
Save jhidalgo3/3ece6479f93caab7dfc5120de6ed4ac5 to your computer and use it in GitHub Desktop.
What is my 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
myip="$(dig +short myip.opendns.com @resolver1.opendns.com)" | |
echo "My WAN/Public IP address: ${myip}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment