find a linux machines external IP and network interface code example Example: how to see ip in linux curl ifconfig.me