After a lot of internet searching and trying just about every option on the man page, I'm stumped.
I use Linux and Mac both regularly in any given day. I've noticed that I prefer the ping command's behavior on Mac and I became interested in finding a way to replicate it on Linux, assuming there must be some combination of arguments to do so. None yet that I can find.
On Mac, if I ping a host, by default it will print something every single second: ping success or ping fail.
On Linux, the default behavior appears to be to batch failure responses into 3-4 second chunks. If you run them side-by-side pinging a dead IP, Mac ping will update every second, Linux will update every 3-4. The behavior is identical if the host is up: they both print a response every second.
I much prefer the Mac behavior of printing every second, success or fail. I have been unable to find any combination of options to get Linux ping to work the same.
There is the "-O" option, which is the closest I've gotten, but it's needlessly verbose: it print two lines for every failed ping instead of just one.
Has anyone else found the right combination of arguments to make Linux ping behave the same as Mac ping?