Ping Flags Flashcards
-c
-c count
: Specifies the number of packets to send.
By default, “ping” sends packets indefinitely until stopped with Ctrl+C
.
-s
-s size
: Specifies the size of the packet to send in bytes.
The default packet size is 64 bytes.
-t
-t ttl
: Specifies the time-to-live (TTL) value of the packet, which determines how many hops the packet can make before it is discarded.
The default TTL value is 64.
-i
-i interval
: Specifies the interval between sending packets in seconds.
The default interval is 1 second.
-W
-W timeout
: Specifies the amount of time to wait for a response to a packet, in seconds. The default timeout is 1 second.
-q
-q
: Quiet mode. Only display the summary output at the end, instead of showing every individual packet sent and received.
-v
-v
: Verbose mode. Display detailed output, including the packet size, TTL value, and round-trip time for each packet sent and received.
-a
-a
: Resolve IP addresses to hostnames.
-n
-n
: Do not resolve IP addresses to hostnames.
-f
-f
: Flood mode. Send packets as fast as possible without waiting for a response, until stopped with Ctrl+C
.
-b
-b
: Allow broadcast addresses to be used as the target host.
-I
-I interface
: Specify the network interface to use for sending packets.
-p
-p pattern
: Specify a pattern to be used as the data portion of the packet. By default, the packet data is a sequence of numbers starting with 0.
-U
-U
: Use UDP instead of ICMP to send packets.
-T
-T timestamp_option
: Specify the type of timestamp to use in the packet. Options are tsonly
, tsandaddr
, and tsprespec
. This is primarily useful for diagnostic purposes.