ifconfig
[root@localhost nginx-1.5.6]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:8D:57:B1
inet addr:192.168.7.235 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe8d:57b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:438891 errors:2 dropped:2 overruns:0 frame:0
TX packets:62862 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:284040359 (270.8 MiB) TX bytes:4354194 (4.1 MiB)
Interrupt:19 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1538 (1.5 KiB) TX bytes:1538 (1.5 KiB)