what is the difference between kill 0, kill 1, kill -1 ?
kill 1 ==> The process with pid 1 will be signaled.
kill 0 ==> All processes in the current process group are signaled.
kill -1 ==> All processes with pid larger than 1 will be signaled.
what is the difference between kill 0, kill 1, kill -1 ?
kill 1 ==> The process with pid 1 will be signaled.
kill 0 ==> All processes in the current process group are signaled.
kill -1 ==> All processes with pid larger than 1 will be signaled.