ping flags & options

-c

Stop after sending a specific number of packets.

ping -c 5 example.com

-i

Set the interval between packets in seconds.

ping -i 0.5 example.com
ping -i 2 example.com

-t

Set the IP time-to-live.

ping -t 64 example.com

-s

Set the size of the ICMP payload in bytes.

ping -s 1400 example.com

-W

Set the timeout in seconds to wait for a response.

ping -W 2 example.com

-f

Flood ping, sending packets as fast as possible (requires root).

sudo ping -f example.com
sudo ping -f -c 1000 example.com

-q

Quiet output, only show summary at the end.

ping -q -c 10 example.com

-4, -6

Force IPv4 or IPv6.

ping -4 example.com
ping -6 example.com