Skip to content

Instantly share code, notes, and snippets.

@andrewpmiller
Last active August 29, 2015 14:00
Show Gist options
  • Save andrewpmiller/11299339 to your computer and use it in GitHub Desktop.
Save andrewpmiller/11299339 to your computer and use it in GitHub Desktop.
Command line instruction to return your external IP address (from dyndns.org)
curl -sf http://checkip.dyndns.org/|cut -d ':' -f 2|cut -d '<' -f1|sed -e 's/ //g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment