[color=#000000

ost_uid0][i

ost_uid0]ifconfig[/i

ost_uid0] is what you're looking for. Needless to say you need to be root to do anything.
you'll get something like:
[code:1

ost_uid0]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:DA:62:E2:F3
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1223979 errors:0 dropped:0 overruns:0 frame:0
TX packets:371257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:400366062 (381.8 MiB) TX bytes:299557817 (285.6 MiB)
Interrupt:5 Base address:0xec00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:19791 errors:0 dropped:0 overruns:0 frame:0
TX packets:19791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1541071 (1.4 MiB) TX bytes:1541071 (1.4 MiB)
[/code:1

ost_uid0]
In this case, [b

ost_uid0]eth0[/b

ost_uid0] has the appropriate information. More help requires more information.[/color

ost_uid0]