Find public ip address using linux command line

Putting these here for my reference as much as everyone else’s. Let me know if you have more ways.

wget -qO- http://ipecho.net/plain ; echo

curl ipinfo.io/ip

curl ifconfig.me

curl icanhazip.com

curl ident.me

curl ifconfig.me

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *