Ping command examples

#(sends a ping every 200ms)
ping -i0.2 <HOSTNAME>

#(sends a ping every 50ms, 1000 times)
sudo ping -i0.05 <HOSTNAME> -c 1000

#(flood ping, adds a dot for every sent packet, and removes one for every received packet) - careful with flood ping without interval, it will send packets as fast as possible, which within the same zone is very fast.
sudo ping -f -i0.05 <HOSTNAME>

#(send larger packets, does it get slower?)
sudo ping -i0.05 <HOSTNAME> -c 100 -s 1400

Viet Luu has written 318 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Reply