⌘K
Examples (7)
Ping a host
ping hostPing a host only a specific number of times
ping -c count hostPing host, specifying the interval in seconds between requests (default is 1 second)
ping -i seconds hostPing host without trying to lookup symbolic names for addresses
ping -n hostPing host and ring the bell when a packet is received (if your terminal supports it)
ping -a hostAlso display a message if no response was received
ping -O hostPing a host with specific number of pings, per-packet response timeout (`-W`), and total time limit (`-w`) of the entire ping run
ping -c count -W seconds -w seconds hostmade by @shridhargupta | data from tldr-pages