ping [options] hostArguments explained
- host can be a name or IP address.
- -c limits packet count.
- -4 or -6 forces IP version.
Common examples
ping -c 4 1.1.1.1Tests reachability to a public IP without DNS.
ping -c 4 example.comRequires DNS resolution and ICMP replies.
| Field | Details |
|---|---|
| Command | ping |
| Category | Networking |
| Primary use | Tests basic network reachability with ICMP echo requests. |
| Syntax | ping [options] host |