Hi guys,
I just wanna know what number in trap if I wanna run the remove command if someone does kill -9 [pid]
at the moment my trap applied like this :
Could you guys point me to reference what number in trap do what ? until now just those four numbers that I know.
Thanks heaps guys
I just wanna know what number in trap if I wanna run the remove command if someone does kill -9 [pid]
at the moment my trap applied like this :
Code:
trap "rm -f $LOCK ; exit 1" 1 2 3 15
Could you guys point me to reference what number in trap do what ? until now just those four numbers that I know.
Thanks heaps guys