thanks for your help,as you mentioned this is the response i got
root@ubuntu:/home/test# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1c:c0:cc:9e:33
inet addr:192.168.0.34 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21c:c0ff:fecc:9e33/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:897 errors:0 dropped:0 overruns:0 frame:0
TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:98037 (98.0 KB) TX bytes:23004 (23.0 KB)
Interrupt:17
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:62417 errors:0 dropped:0 overruns:0 frame:0
TX packets:62417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10275243 (10.2 MB) TX bytes:10275243 (10.2 MB)
root@ubuntu:/home/test# ls /sys/class/net
eth0 lo
root@ubuntu:/home/test#