File: ping.1

package info (click to toggle)
inetutils 2%3A2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,684 kB
  • sloc: ansic: 132,371; sh: 12,498; yacc: 1,651; makefile: 725; perl: 72
file content (119 lines) | stat: -rw-r--r-- 2,930 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.2.
.TH PING "1" "December 2025" "GNU inetutils 2.7" "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 <bug\-inetutils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.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.