Created
January 19, 2017 19:35
-
-
Save joshuacurtiss/4cd42433e9d6d1b1c757704701fd4faf to your computer and use it in GitHub Desktop.
Script to get the public IP from DynDNS's checkip service.
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/csh | |
curl -s http://checkip.dyndns.org | awk '{print $6}' | awk ' BEGIN { FS = "<" } { print $1 } ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment