Introduction to ping command usage in Linux

Source: Internet
Author: User

The general format for this command is:

ping [options] [Host name/IP address]

More details

Ping [-dfnqrrv][-c< send times >][-i< interval seconds >][-I< network interface >][-l< pre-load >][-p< template style >][-s< packet size > ][-t< Survival value >][host name or IP address]

The common parameters for Ping are as follows:

-c number stops after sending a specified number of packages

-d option to set So_debug

-F Send a large and fast network envelope to a machine to see its response

-I seconds set interval a few seconds to send a network packet to a machine preset is a second send

-L The fastest way to send packet data to a specified machine within a specified number of times (only Superuser can use this option)

-Q does not display any delivery packet information only displays the final result

-R send packets directly to a machine without a gateway it is usually to see if there is a problem with the network interface on this computer

-S bytes Specifies the number of bytes sent, the default value is 56, plus the 8-byte ICMP header, which is a total of 64ICMP bytes of data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.