Skip to content

Instantly share code, notes, and snippets.

@msmarcal
Last active October 27, 2016 16:12
Show Gist options
  • Save msmarcal/97989e2effcca1fc4377c4e3840e9fff to your computer and use it in GitHub Desktop.
Save msmarcal/97989e2effcca1fc4377c4e3840e9fff to your computer and use it in GitHub Desktop.
ifconfig | grep "inet6 "| cut -d ' ' -f 2 > /Users/msmarcal/Dropbox/000-IPTRACK/DEXTER/PONG
curl 'http://v6.ident.me/' >> /Users/msmarcal/Dropbox/000-IPTRACK/DEXTER/PONG
dig AAAA myip.opendns.com +short @2620:0:ccc::2 >> /Users/msmarcal/Dropbox/000-IPTRACK/DEXTER/PONG
rm $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment