Find own public IP address
Here are a few tricks to programatically find your public IP address:
curl -s http://jsonip.com | sed 's/.*"ip":"\([^"]\+\)".*/\1\n/' curl -s http://ipinfo.io
Here are a few tricks to programatically find your public IP address:
curl -s http://jsonip.com | sed 's/.*"ip":"\([^"]\+\)".*/\1\n/' curl -s http://ipinfo.io