Killing processes and send or respond to signals
Termination of processes is an important task we always come across. Sometimes we may need to terminate all the instances of a program. The command line provides several options for terminating programs. An important concept regarding processes in UNIX-like environments is that of signals. Signals are an inter-process communication mechanism used to interrupt running process to perform some action. Termination of a program is also performed by using the signals technique. This recipe is an introduction to signals and the usage of signals.
Signals are an inter-process mechanism available in Linux. We can interrupt a process by using a specific signal. Each signal is associated with an ...