Mar 15, 2015 Several CLI Ways to Find Out Your Public IP Address Need to know your public IP address? Use one of the following: 123456$ curl -s checkip.amazonaws.com$ curl -s ipinfo.io/ip$ curl -s www.trackip.net/ip$ curl -s whatsmyip.me$ curl -s whatismyip.akamai.com$ curl -s icanhazip.com