14 ms·
I think I'll replace whatsmyip.com for this: alias whatsmyip="curl -s http://jsonip.com http://jsonip.com | grep '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9
by gikrauss 16y ago
I think I'll replace whatsmyip.com for this: alias whatsmyip="curl -s http://jsonip.com 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!)