Send ICMP ECHO_REQUEST packets to network hosts. More information: https://keith.github.io/xcode-man-pages/ping.8.html.
ping "hostname"
ping -c count "host"
host
, specifying the interval in seconds
between requests (default is 1 second):ping -i seconds "host"
host
without trying to lookup symbolic names for addresses:ping -n "host"
host
and ring the bell when a packet is received (if your terminal supports it):ping -a "host"
host
and prints the time a packet was received (this option is an Apple addition):ping --apple-time "host"