cheat-fork-echo/cheat/cheatsheets/ping

9 lines
338 B
Text
Raw Normal View History

2015-09-08 03:56:09 +02:00
# ping a host with a total count of 15 packets overall.
ping -c 15 www.example.com
# ping a host with a total count of 15 packets overall, one every .5 seconds (faster ping).
ping -c 15 -i .5 www.example.com
2015-11-11 21:21:24 +01:00
# test if a packet size of 1500 bytes is supported (to check the MTU for example)
ping -s 1500 -c 10 -M do www.example.com