Check your public IP address using curl or wget -
Courtesy: http://askubuntu.com/questions/95910/command-for-determining-my-public-ip
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' \
-e 's/<.*$//'
orwget http://ipinfo.io/ip -qO -
Courtesy: http://askubuntu.com/questions/95910/command-for-determining-my-public-ip
No comments:
Post a Comment