6. linux commands, Usage, Df -h – Gasboy SiteOmat Maintenance Manual User Manual
Page 224: Ifconfig, Usage (use ctrl-c to stop)

220
SiteOmat Setup and Maintenance Manual – MDE 4817G
8-6. LINUX COMMANDS
NOTE
This section is for advanced users only.
This section contains a collection of useful Linux commands.
8-6.1. df (Displays file-system information)
Usage:
$ df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/sda3
3.4G
2.3G
1.0G
69% /
/dev/sda1
23M
5.6M
16M
26% /boot
none
125M
0
125M
0% /dev/shm
8-6.2. ifconfig (Command line tool to check all network cards/interfaces)
Usage:
$ ifconfig
eth0
Link encap:Ethernet HWaddr 00:0C:29:C7:77:B6
inet addr:10.0.1.35 Bcast:10.0.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4050 (3.9 Kb) TX bytes:1443 (1.4 Kb)
Interrupt:10 Base address:0x1080
eth1
Link encap:Ethernet HWaddr 00:0C:29:C7:77:C0
inet addr:192.168.81.2 Bcast:192.168.81.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5216 (5.0 Kb) TX bytes:5459 (5.3 Kb)
Interrupt:9 Base address:0x1400
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo:1
Link encap:Local Loopback
inet addr:10.200.1.1 Mask:255.255.255.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
8-6.3. Ping (Sends test packets to a specified server to check if it is
responding properly)
Usage (use ctrl-C to stop):
$ ping 192.168.81.1
PING 192.168.81.1 (192.168.81.1) from 192.168.81.2 : 56(84) bytes of data.
64 bytes from 192.168.81.1: icmp_seq=0 ttl=128 time=538 usec