find private ip address linux code example
Example 1: how to find public ip address in linux
$ wget -qO- http://ipecho.net/plain | xargs echo
$ wget -qO - icanhazip.com
120.88.41.175
Example 2: show ip address linux
$ hostname -I
Example 3: get ip address linux
curl ifconfig.me