In our respective interactions with various networks accessible to us.....as administrators we keep pinging so many IPs for testing the connectivity at various times like ping 22.214.171.124 etc....and we get a response...but ping it self has so many switches that most of us hardly use......i came across a chart today that in a summarized form tells the switches of ping command with examples and a brief explanation.....sharing here with you...thanks http://www.activexperts.com
|ping -c count||ping -c 10||Specify the number of echo requests to send.|
|Ping -d||ping -d||Set the SO_DEBUG option.|
|Ping -f||ping -f||Flood ping. Sends another echo request immediately |
after receiving a reply to the last one.
Only the super-user can use this option.
|Ping host||ping 126.96.36.199||Specify the host name (or IP address) of computer|
|ping -i wait||ping -i 2||Wait time. The number of seconds to wait between |
|ping -l preload||ping -l 4||Sends "preload" packets one after another.|
|Ping -n||ping -n||Numeric output, without host to symbolic name lookup.|
|Ping -p pattern||ping -p ff00||Ping Pattern. The example sends two bytes, one|
filled with ones, and one with zeros.
|Ping -q||ping -q||Quiet output. Only summary lines at startup and |
|ping -r||ping -r||Direct Ping. Send to a host directly, without using |
routing tables. Returns an error if the host is not on
a directly attached network.
|Ping -R||Ping -R||Record Route. Turns on route recording for the |
packets, and display the route
buffer on returned packets (ignored by many
|ping -s PacketSize||ping -s 10||Sets the packet size in number of bytes, which will |
result in a total packet size of PacketSize plus 8
extra bytes for the ICMP header
|ping -v||ping -v||Verbose Output. Lists individual ICMP packets, as well |
as Echo Responses