Skip to content

Instantly share code, notes, and snippets.

@joshuacurtiss
Created January 19, 2017 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuacurtiss/4cd42433e9d6d1b1c757704701fd4faf to your computer and use it in GitHub Desktop.
Save joshuacurtiss/4cd42433e9d6d1b1c757704701fd4faf to your computer and use it in GitHub Desktop.
Script to get the public IP from DynDNS's checkip service.
#!/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