Linux - Get IP Address October 12, 2016 | Comments # ip addr show eth0 | grep -e "inet\s" | awk '{print $2}'