News for hackers. Stuff that matters.
Re:Find your public IP address from the command line by lozf on Tuesday June 24, 2014 @05:48AM (#7936871)
I like the extra detail from

      curl ipinfo.io
particularly if using Tor or a VPN, but

      dig +short myip.opendns.com @208.67.222.222
is usually quicker than anything curl / wget based, as it doesn't use http. You can substitute `host` if `dig` isn't available.
Re:Find your public IP address from the command line by kevinwallace on Tuesday June 24, 2014 @02:24PM (#7939461)
These are my favorites, because they seem less likely to disappear in the future:

https://ip.appspot.com/

http://whatismyip.akamai.com/

Re:Find your public IP address from the command line by sinaa on Tuesday June 24, 2014 @01:51AM (#7936367)
Re:Find your public IP address from the command line by jlewallen on Tuesday June 24, 2014 @01:37AM (#7936324)
There is also http://ifconfig.me
Re:Find your public IP address from the command line by sheetjs on Tuesday June 24, 2014 @01:41AM (#7936336)
Woah this is even more intense!

http://ifconfig.me/host for the hostname is a great option I wished curlmyip.com had

Re:Find your public IP address from the command line by stock_toaster on Tuesday June 24, 2014 @04:13AM (#7936651)
wtfismyip.com/text is the only one I can ever remember when I am on a terminal. For some reason it sticks in my head.

prefixing with ipv6 or ipv4 works nicely too.

Re:Find your public IP address from the command line by Zash on Tuesday June 24, 2014 @03:30AM (#7936570)
Bah, no IPv6 :(
Re:Find your public IP address from the command line by thomersch_ on Tuesday June 24, 2014 @04:28AM (#7936689)
You only need that if you are behind a NAT and on IPv6 there is no NAT. Simply use ifconfig.