Name

ping [Optionen] Host — /biniputilsstdin stdout - datei -- opt --help --version

Der Befehl ping teilt Ihnen mit, ob ein entfernter Rechner erreichbar ist. Er sendet kleine Pakete (genauer gesagt, ICMP-Pakete) und wartet auf Antworten.

$ ping google.com
PING google.com (216.239.37.100) from 192.168.0.10 : 56(84) bytes of data.
64 bytes from www.google.com (216.239.37.100): icmp_seq=0 ttl=49 time=32.390 msec
64 bytes from www.google.com (216.239.37.100): icmp_seq=1 ttl=49 time=24.208 msec
^C
--- google.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 24.208/28.299/32.390/4.091 ms

Nützliche Optionen

-c N

Pingt einen Rechner höchstens N mal an.

-i N

Wartet N Sekunden zwischen Pings (die Voreinstellung ...

Get LINUX: kurz & gut now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.