-
-
Save mschmitt/94da5d8a978d2547700a9b6285f61a1e to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
IP4=$(curl -s http://www.ipv4.dyn.f00.net/ip.php) && | |
ORG4=$(curl -s http://ipinfo.io/ | jshon -e org) && | |
echo IPv4: $IP4 / $ORG4 | |
IP6=$(curl -s http://www.ipv6.dyn.f00.net/ip.php) && | |
ORG6=$(curl -s http://ipinfo.io/ | jshon -e org) && | |
echo IPv6: $IP6 / $ORG6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment