osx/*: update page (#7665)

This commit is contained in:
Emily Grace Seville
2022-02-14 03:21:43 -08:00
committed by GitHub
parent b1326296cd
commit 692469016e
78 changed files with 151 additions and 107 deletions

View File

@@ -1,27 +1,28 @@
# ping
> Send ICMP ECHO_REQUEST packets to network hosts.
> More information: <https://ss64.com/osx/ping.html>.
- Ping the specified host:
`ping {{host}}`
`ping "{{hostname}}"`
- Ping a host a specific number of times:
`ping -c {{count}} {{host}}`
`ping -c {{count}} "{{host}}"`
- Ping `host`, specifying the interval in `seconds` between requests (default is 1 second):
`ping -i {{seconds}} {{host}}`
`ping -i {{seconds}} "{{host}}"`
- Ping `host` without trying to lookup symbolic names for addresses:
`ping -n {{host}}`
`ping -n "{{host}}"`
- Ping `host` and ring the bell when a packet is received (if your terminal supports it):
`ping -a {{host}}`
`ping -a "{{host}}"`
- Ping `host` and prints the time a packet was received (this option is an Apple addition):
`ping --apple-time {{host}}`
`ping --apple-time "{{host}}"`