Tuesday, January 17, 2017

Check public ip address from Linux Command Console

Check public ip address from Linux Command Console

Use below command to check Public IP from linux command console

curl ipecho.net/plain
or
host myip.opendns.com resolver1.opendns.com
or
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com

No comments:

Post a Comment