Created
August 28, 2022 15:03
-
-
Save cblecker/7aafa66d76d7f47fe7b8d35bcc459693 to your computer and use it in GitHub Desktop.
small script to check your external 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
#!/usr/bin/env bash | |
echo -n "OpenDNS: " | |
dig +short +time=3 +tries=1 myip.opendns.com @208.67.222.222 | |
echo -n "Amazon: " | |
curl -s -m3 checkip.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment