The ping command tests a network connection. In the terminal, you type ping followed by the IP address or URL you wish to ping. Network packets are sent to the specified address then it tells how long it took to get a response. Linux, Windows, and many other operating systems use the ping command. 

Example:

$ ping edu.lampp.org

Output:


PING edu.lampp.org (67.205.11.184) 56(84) bytes of data.

64 bytes from apache2-igloo.red-hulk.dreamhost.com (67.205.11.184): icmp_seq=1 ttl=49 time=35.1 ms

64 bytes from apache2-igloo.red-hulk.dreamhost.com (67.205.11.184): icmp_seq=2 ttl=49 time=34.3 ms

64 bytes from apache2-igloo.red-hulk.dreamhost.com (67.205.11.184): icmp_seq=3 ttl=49 time=33.0 ms

64 bytes from apache2-igloo.red-hulk.dreamhost.com (67.205.11.184): icmp_seq=4 ttl=49 time=36.0 ms