09 Jul How To Find your Server’s Public IP Address by kayals in Linux, System AdministrationComments ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//' Related posts:How do I uninstall MySQL completely?INSTALLING PI-HOLE ON UBUNTU 18.04 LTSPower off a virtual machine in an ESXi host using the command line Tags: grep,IP,pipe