The ping command in Linux works a little bit differently than in Windows by default. You can customize it to send a certain number of packets, change the size of the packets, and many other options.
To stop the ping command just hold down your Ctrl key and hit the C key at the same time. It will show you the statistics your most likely used to.
You can read up on all the switches to make ping act the way you would like by issuing the command "man ping" , this will open the man page for the ping command that will show you all the options you can use. You can get out of this man page by typing Q (scroll through it with your arrow keys).
Here is a very interesting article from Linux Gazette that will show you some common uses and practices with ping. It also has a simple table with the best options for ping.
I would ignore the first part with the perl example unless you are interested in perl.