Re:Your IP. In JSON
by gikrauss on Wednesday March 02, 2011 @01:38PM
(#2280615)
I think I'll replace whatsmyip.com for this: alias whatsmyip="curl -s http://jsonip.com | grep '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' -o"
A simple way of accessing your public IP from bash (for some reason I need to do that a lot!)
A simple way of accessing your public IP from bash (for some reason I need to do that a lot!)