Type the following form of the ping command:
$ ping hostname |
If host hostname is accepting ICMP transmissions, this message is displayed:
hostname is alive |
This message indicates that hostname responded to the ICMP request. However, if hostname is down or cannot receive the ICMP packets, you receive the following response from the ping command:
no answer from hostname |