What was the rationale for the design decision to make ping's default behavior to ping forever?
For example, the following basic usage will ping address 127.0.0.1 forever:
$ ping 127.0.0.1
According to Wikipedia, ping is used to:
test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer and back.
In both of those use cases (reachability and round-trip time/latency), pinging forever is probably not the desired behavior, which is why it seems odd to me that it is the default behavior.
As a side note, it seems even more odd considering there is no provided user interface mechanism to quit, other than something like ctrl + c, which seems a little unrefined.
Of course the number of pings can optionally be limited if the count parameter (-c) is used, e.g.:
$ ping -c 3 127.0.0.1
To clarify, I'm hoping someone can provide a reference of some sort which mentions the reason the actual developer(s) decided on the default behavior, rather than opinion-based answers. Perhaps documentation or code comments exist which document this?
I see this question is currently on hold as being primarily opinion-based, so I'm trying to make it less so.