>_ linuxcommand.dev
Startseite ping
Networking

ping

Send ICMP echo requests to test host reachability and latency.

Syntax
$ping [OPTIONS] TARGET
Optionen
-c Stop after sending count packets
-t Set timeout in seconds
-s Set packet payload size
-i Interval between packets
-q Quiet output
Examples
Examples
$ping google.com
Examples
$ping -c 4 192.168.1.1
Examples
$ping -t 10 example.com
Examples
$ping -s 100 google.com
Shortcuts
ping -c 4 host (send 4 packets)
ping -t 5 host (5-second timeout)
Typical use cases
Test connection
ping google.com
Check router
ping 192.168.1.1
Test DNS
ping example.com
Note Basic network diagnostic tool. Tests reachability and latency.
Export