Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two shell scripts: launch_job.sh and sub_job.sh.

If launch_job.sh uses the following method to run sub_job.sh:

nohup sub_job.sh &

sub_job.sh becomes an orphan, i.e. with PPID 1.
I discovered that such process doesn't receive signals, except SIGKILL. I guess there is some explanation for this, but I couldn't find it. Any ideas?

share|improve this question

As long as this parent is alive, it can handle the stopping and starting of members in the process group. When it dies, there may be nobody to continue stopped processes. that why they dont receive any other signal other than SIGKILL see http://www.win.tue.nl/~aeb/linux/lk/lk-10.html for details

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.