check the public ip address in linux code example
Example 1: get public ip linux
curl ifconfig.me
Example 2: get public ip linu
wget -qO- http://ipecho.net/plain | xargs echo
curl ifconfig.me
wget -qO- http://ipecho.net/plain | xargs echo