The Ancient Chinese invented paper and money. Money was invented by the first king of China and paper was invented by a man in China by bamboo.
Example C Program to Catch a Signal. Most of the Linux users use the key combination Ctr+C to terminate processes in Linux. Have you ever thought of what goes behind this. Well, whenever ctrl+c is pressed, a signal SIGINT is sent to the process. The default action of this signal is to terminate the process. But this signal can also be handled.
I know that using -c will temporarily set the number of pings issues for example: ping -c 5 192.168.1.50 would issue 5 pings. My issue is that if I don't use the -c option (i.e. ping 192.168.1.50), my terminal issues an endless number of pings and it continues to do so until I manually stop the command. I'm not even sure if it would ever stop or just keep going.