Home > Operation and Maintenance > Linux Operation and Maintenance > How to stop ping command in linux

How to stop ping command in linux

藏色散人
Release: 2021-12-15 17:22:56
Original
19386 people have browsed it

How to stop the ping command in Linux: 1. Use "CTRL c" or "CTRL z" to exit; 2. Set the option mode so that the ping command is executed several times and then terminates.

How to stop ping command in linux

The operating environment of this article: linux5.9.8 system, Dell G3 computer.

How to stop the ping command in Linux?

Stop the ping command being executed under Linux:

In the Linux system, when a host can be pinged successfully , the ping command will continue to be executed at this time. If you want to terminate, you can use CTRL c or CTRL z to exit.

You can also set the option mode so that the ping command is executed several times before the package is terminated.

ping 192.168.34.44 -c 4, the ping command will be executed 4 times.

Related introduction: The

ing command is used to check whether the host on the network is working. Executing the ping command will use the ICMP transport protocol to send a message requesting a response. If there is no problem with the network function of the remote host, it will respond to the message, thus knowing that the host is operating normally. Under normal circumstances, by pinging the target address, the other party can return the size of the TTL value. Through the TTL value, you can roughly determine whether the system type of the target host is Windows or UNIX/Linux. Generally, the TTL value returned by the Windows system is between 100-130. time, and the TTL value returned by UNIX/Linux system is between 240-255.

Recommended learning: "linux video tutorial"

The above is the detailed content of How to stop ping command in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template