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!)
No comments yet.