March 2012
Beginner to intermediate
230 pages
7h 27m
English
ping — stdin stdout - file -- opt --help --version
ping [options]host
The ping command tells you
if a remote host is reachable. It sends small packets (ICMP packets
to be precise) to a remote host and waits for responses.
$ ping google.com
PING google.com (74.125.226.144) from 192.168.0.10 :
56(84) bytes of data.
64 bytes from www.google.com (74.125.226.144): icmp_seq=0
ttl=49 time=32.390 msec
64 bytes from www.google.com (74.125.226.144): icmp_seq=1
ttl=49 time=24.208 msec
^C
--- google.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 24.208/28.299/32.390/4.091 ms|
|
Ping at most
|
|
|
Wait
|
|
|
Print IP addresses in the output, rather than hostnames. |
Read now
Unlock full access