[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Short question



On 10 Aug 1999, Adam Morrison wrote:

> In <37AF8EFA.115DC434@usa.net>, Isaac Aaron <iaaron@usa.net> writes:
> 
> > Does anybody know a shell command that allows me to run something in the
> > background immediately?
> 
> Use nohup if you're using a Bourne shell (sh) descendant.
> 
> Just use `&' if you're using a C shell (csh) descendant.
> 
> For this purpose, bash (the bastard shell) compiled with job control,
> acts as a csh descendant.

Both will terminate as soon as they are detached from the controlling
terminal. Backgrounding jobs using `&' require that the job be configured
(compiled in that way) to ignore some signals from the controlling
terminal, in order for them not to terminate when the controlling terminal
is killed.

--Ariel

> 
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
> 

--
Ariel Biener
e-mail: ariel@post.tau.ac.il           Work phone: 03-640608
fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il