← Archive linux Gets your server's public IP Address Dec 30, 2014 · 1 min read ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//' ← Previous How to force phpstorm to use Java JDK 1.7 on MacOS Next → Happy 0b11111011111 folks!