Category

Linux Command


Usage

ping [ -LRUbdfnqrvVaAB] [ -c count] [ -i interval] [ -l preload] [-p pattern] [ -s packetsize] [-t ttl] [ -w deadline] [ -F flowlabel] [-I interface] [-M hint] [ -Q tos] [-S sndbuf] [-T timestamp option] [-W timeout] [hop ...] destination


Manual

ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit
an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams
(‘‘pings’’) have an IP and ICMP header, followed by a struct timeval
and then an arbitrary number of ‘‘pad’’ bytes used to fill out the
packet.


Share your experience or ask a question