How do I find my Linux server’s IP address?

To find the LAN IP address, open a shell and run:

/sbin/ifconfig

Look for the inet addr in the output, which will look like below:

eth0      Link encap:Ethernet  HWaddr 00:22:19:84:9B:E8
          inet addr:192.168.1.89  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::222:19ff:fe84:9be8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8380921 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8360250 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:806377947 (769.0 MiB)  TX bytes:752649055 (717.7 MiB)
          Interrupt:169 Memory:f8000000-f8012100