Linux Ping Command
Chapter:
Linux Commands
Last Updated:
05-05-2018 17:38:16 UTC
Program:
/* ............... START ............... */
$ ping google.com
PING google.com (94.201.52.76) 56(84) bytes of data.
64 bytes from plus.google.com (94.201.52.76): icmp_req=1 ttl=128 time=172 ms
64 bytes from plus.google.com (94.201.52.76): icmp_req=2 ttl=128 time=164 ms
64 bytes from plus.google.com (94.201.52.76): icmp_req=4 ttl=128 time=165 ms
/* ............... END ............... */
Notes:
-
Ping command in linux is normally used to test the connectivity between the two nodes.
- If connection is established between the nodes you requested for ping it will give the details packet of information from the connected node.
- Ping command is used to test the internet connectivity through terminal in linux.
- If not possible to connect to the node, it will give an error message (Request Timed Out) after a specific time.
Tags
Linux Ping Command, Test Connectivity, Network Command Linux