How do I change the Default number of pings?
I know that using -c will temporarily set the number of pings issues for example: "ping -c 5 192.168.1.50" would issue 5 pings. My issue is that if I don't use the -c option (i.e. ping 192.168.1.50), my terminal issues an endless number of pings and it continues to do so until I manually stop the command. I'm not even sure if it would ever stop or just keep going.
In most cases this is not a big deal because I can easily use -c to set the desired number of pings. However when I try to issue a broadcast ping for my LAN which is "ping 192.168.1.255" the command pings the First host that is connected, and continues to ping that same host over and over until I stop it and it never pings any other host besides the first, and my broadcast ping never works.
I really only use the broadcast ping to update the Arp cache before issuing an "arp -a" or something similar, however, it would be nice if I could change the default to something low like between 5 and 10 pings, so that even if I don't use the -c option the count will be low!
Does anybody know how to make this adjustment?
MacBook Pro, OS X Mavericks (10.9.1), late 2011