- Code: Select all
wget -qO - -U “Firefox/3.0.15″ http://whatsmyip.net | grep "Your IP is" | sed 's/.*Your IP is: \(.*\)<.*>/\1/'
Note that if they change the format of whatsmyip.net it may break it, and please don't flood it with requests.
wget -qO - -U “Firefox/3.0.15″ http://whatsmyip.net | grep "Your IP is" | sed 's/.*Your IP is: \(.*\)<.*>/\1/'


curl -s http://icanhazip.com
curl -s http://ip.appspot.com
curl -s http://checkip.dyndns.org | grep -Eo '[0-9.]+'
curl http://ifconfig.me
curl http://www.chisono.it/ip.asp


/sbin/ifconfig -a wlan0| grep addr: | awk '{print $2}' | sed 's/addr\://'
loveisgod wrote:...You can get a good IP lookup tool for free from http://www.ip-details.com/ip-details-client/ it would also be useful for your collection.

Users browsing this forum: No registered users and 11 guests