I would like to know what the differences between using the commands :
ping -c 3 www.google.com
Any help or information is appreciated. Thanks!
will send infinite packets until you stop it by closing or ctrl+c
For more information about ping options
will send exactly three ping requests to Google, after which the program terminates. It doesn't matter whether there are replys for (some of) the requests or not.
will endlessly send ping requests to Google, and the ping command will never terminate until you end it manually using, e.g., Ctrl+c.