Thursday, June 26, 2008

Check Public IP from Command Line

run this command:

wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

that's all!

No comments: