Last active
May 31, 2018 13:23
-
-
Save shaunfink/6856cd2a304bca688499d014005c2b2d to your computer and use it in GitHub Desktop.
Get Public IP using Git
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
# Use dig to get your local public IP | |
dig +short myip.opendns.com @resolver1.opendns.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment