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 to install Redis on Ubuntu 18.04 & 16.04 LTSPower off a virtual machine in an ESXi host using the command line†character HTML code (WordPress) Tags: grep,IP,pipe