Send ICMP echo requests to test basic reachability.

Section: Reachability and Latency

Ping a host

bash
bash
ping -c 4 example.com
Explanation

Send ICMP echo requests to test basic reachability.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Reachability and Latency
Ping with custom interval
Send pings at a faster interval.
OpenIn sheetbashsame section
Test MTU with DF bit
Probe MTU problems by forbidding fragmentation.
OpenIn sheetbashsame section
Generate mtr report
Run a report mode path-quality test.
OpenIn sheetbashsame section
Show cURL timing metrics
Print DNS, connect, TLS, and total timings.
OpenIn sheetbashsame section
Time a DNS lookup
Measure how long a DNS query takes.
OpenIn sheetbashsame section
Show systemd-networkd logs
Inspect logs for systemd-networkd.