Ping Command in LinuxUsing the ping command in Linux
Ping can be used to test a connection from one server to another server.
How ping works
Ping (Packet Internet Groper), uses the ICMP (Internet Control Message Protocol) to send an echo request message. This elicits an ICMP echo response, and the time it takes to receive this response can be used to measure the strength of the connection.
Standard ping command in Linux
You can specify the number of pings you wish to send. By default, it runs until it is stopped with the ctrl+c command.
ping -c 3 google.com
Setting the ping Time to Live (TTL)
ping -t 50 google.com