wget -O - -q icanhazip.com
you will get a very easy looking readout
example:
root@madhost419 [~]# wget -O - -q icanhazip.com
74.122.196.130
root@madhost419 [~]#
or via curl:
curl http://www.cPanel.net/showip.cgi
wget -O - -q icanhazip.com
you will get a very easy looking readout
example:
root@madhost419 [~]# wget -O - -q icanhazip.com
74.122.196.130
root@madhost419 [~]#
or via curl:
curl http://www.cPanel.net/showip.cgi