usage of kill -0 pid
I was looking into a shell script which had a line "kill -0 [pid]" , I would like to know what the -0 flag does as i found it is not killing the particular [pid] process.
|
The null signal can be used to check the validity of the pid.
|
Please have a look at http://linux.die.net/man/2/kill
I am also not much familiar with sig 0. --Rameez |
All times are GMT -5. The time now is 07:41 AM. |