ping
Send ICMP ECHO_REQUEST packets to network hosts. More information: https://ss64.com/osx/ping.html.
- Ping the specified host:
ping "{{hostname}}"
- Ping a host a specific number of times:
ping -c {{count}} "{{host}}"
- Ping
host
, specifying the interval inseconds
between requests (default is 1 second):ping -i {{seconds}} "{{host}}"
- Ping
host
without trying to lookup symbolic names for addresses:ping -n "{{host}}"
- Ping
host
and ring the bell when a packet is received (if your terminal supports it):ping -a "{{host}}"
- Ping
host
and prints the time a packet was received (this option is an Apple addition):ping --apple-time "{{host}}"
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.