Sends ICMP ECHO_REQUEST to a network host
The ping command uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or a gateway. ECHO_REQUEST datagrams (pings) have an IP and ICMP header followed by a struct timeval and then an arbitrary number of pad bytes used to fill out the packet.
ping [OPTION]... host
-c COUNT Send only COUNT pings
- -s SIZE Send SIZE data bytes in packets (default=56)
- -q Quiet mode, only displays output at start and when finished
$ ping localhost
localhost is alive!
See also Acronis Linux Commands.