PROPHET/OS

NAME

ping: asks a host whether it is there, four times by default

SYNOPSIS

ping <address or name> [count]

DESCRIPTION

Asks a host whether it is there, four times by default.

A name is looked up first, the same way resolve does it: hosts file, then the nameserver, and a name without a dot gets the domain appended.

What comes back is the round trip of each packet and, at the end, how many of them came back at all. A packet that is lost is not an error of this program: it is the answer.

EXAMPLE

$ ping --help
ping <address or name> [count]
  asks a host whether it is there, four times by default
  a name is looked up first, like resolve does

SEE ALSO

resolve, dig, ip, fetch, firewall