Ping Command:
Ping command is an external command which is used to test the network connections. When we connect any device with other device then ping command verify that a device can communicate with another on a network. The ping command basically send request messages to the destination device and waiting for a response and then display that how many of those responses are returned, and how long it takes for them to return.
Syntax
ping [- option] destination
For example Ping yahoo.com
Where Options are:
-t Pings the specified host until stopped.
-a Resolve addresses to hostnames.
-n Count Number of echo requests to send.
-w Timeout in milliseconds to wait for each reply.
For Example:
Ping -t yahoo.com