Usually I use ping to check my internet connection. In windows, if I use:
ping google.com
I get only 4 information ping, but on Ubuntu, if I use that command, the ping can' stop until I stop it with Ctrl+C. Can I ping only for 4 times then stopped? If I can, can I use it as default?
ping --help
and 2. Its manual page:man ping