Solved

What is scope of NOHUP?

Posted on 1997-10-14
1
216 Views
Last Modified: 2012-05-04
When you nohup a program, are all other processes that generated by that program also "nohup'd"?

(as in a perl program with fork/exec?)
0
Comment
Question by:keithedward
1 Comment
 
LVL 4

Accepted Solution

by:
jos010697 earned 0 total points
Comment Utility
Yes; after a fork, the new process inherits the same
signal handling masks as its parent. And luckily so,
because imagine what would happen if the following
shell script were issued:

   nohup sh foo

where foo contains a long pipeline of processes like:

   bar | baz | fred

kind regards,

Jos aka jos@and.nl
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now