Created
November 11, 2012 22:37
-
-
Save NapoleonWils0n/4056558 to your computer and use it in GitHub Desktop.
macosx: get wan ip address
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 | |
#----------------------------------------------------------------------------------------# | |
# Get remote ipv4 address # | |
#----------------------------------------------------------------------------------------# | |
curl -s "http://v4.ipv6-test.com/api/myip.php" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment