find-your-local-network-ip

# Get just the local IP (common networks)
ifconfig | grep "inet " | grep -v 127.0.0.1

  • 127.0.0.1: Local Host
  • 192.168.x.y: Private Network. Machines on private network will be prefixed with 192.168
    • 192.168.1.x - Standard home/office router network


Backlinks