.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. .TH PING "1" "September 2021" "GNU inetutils 2.2" "User Commands" .SH NAME ping \- Packets to network hosts .SH SYNOPSIS .B ping [\fI\,OPTION\/\fR...] \fI\,HOST \/\fR... .SH DESCRIPTION Send ICMP ECHO_REQUEST packets to network hosts. .IP Options controlling ICMP request types: .TP \fB\-\-address\fR send ICMP_ADDRESS packets (root only) .TP \fB\-\-echo\fR send ICMP_ECHO packets (default) .TP \fB\-\-mask\fR same as \fB\-\-address\fR .TP \fB\-\-timestamp\fR send ICMP_TIMESTAMP packets .TP \fB\-t\fR, \fB\-\-type\fR=\fI\,TYPE\/\fR send TYPE packets .IP Options valid for all request types: .TP \fB\-c\fR, \fB\-\-count\fR=\fI\,NUMBER\/\fR stop after sending NUMBER packets .TP \fB\-d\fR, \fB\-\-debug\fR set the SO_DEBUG option .TP \fB\-i\fR, \fB\-\-interval\fR=\fI\,NUMBER\/\fR wait NUMBER seconds between sending each packet .TP \fB\-n\fR, \fB\-\-numeric\fR do not resolve host addresses .TP \fB\-r\fR, \fB\-\-ignore\-routing\fR send directly to a host on an attached network .TP \fB\-\-ttl\fR=\fI\,N\/\fR specify N as time\-to\-live .TP \fB\-T\fR, \fB\-\-tos\fR=\fI\,NUM\/\fR set type of service (TOS) to NUM .TP \fB\-v\fR, \fB\-\-verbose\fR verbose output .TP \fB\-w\fR, \fB\-\-timeout\fR=\fI\,N\/\fR stop after N seconds .TP \fB\-W\fR, \fB\-\-linger\fR=\fI\,N\/\fR number of seconds to wait for response .IP Options valid for \fB\-\-echo\fR requests: .TP \fB\-f\fR, \fB\-\-flood\fR flood ping (root only) .TP \fB\-\-ip\-timestamp\fR=\fI\,FLAG\/\fR IP timestamp of type FLAG, which is one of "tsonly" and "tsaddr" .TP \fB\-l\fR, \fB\-\-preload\fR=\fI\,NUMBER\/\fR send NUMBER packets as fast as possible before falling into normal mode of behavior (root only) .TP \fB\-p\fR, \fB\-\-pattern\fR=\fI\,PATTERN\/\fR fill ICMP packet with given pattern (hex) .TP \fB\-q\fR, \fB\-\-quiet\fR quiet output .TP \fB\-R\fR, \fB\-\-route\fR record route .TP \fB\-s\fR, \fB\-\-size\fR=\fI\,NUMBER\/\fR send NUMBER data octets .TP \-?, \fB\-\-help\fR give this help list .TP \fB\-\-usage\fR give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR print program version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .PP Options marked with (root only) are available only to superuser. .SH AUTHOR Written by Sergey Poznyakoff. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B ping is maintained as a Texinfo manual. If the .B info and .B ping programs are properly installed at your site, the command .IP .B info ping .PP should give you access to the complete manual.