Saturday, June 29, 2013

How to get your public IP from command line


How to get your public IP from command line.


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




3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Nice information useful for everyone who want to find their public ip address ..I usually find the my network ip address just by visiting sites like Ip-Details.com .....

    ReplyDelete