On Wednesday 06 December 2006 11:28, Neil Bothwick wrote:
> On Wed, 06 Dec 2006 14:13:01 +1300, Mark Kirkwood wrote:
> > An alternative is 'nohup' - if you know that you are gonna run a
> > long task and wish to be able to shutdown your terminal window.
> > e.g:
> >
> > $ nohup emerge kdelibs
> > $ exit
>
> Shouldn't that be "nohup emerge kdelibs &"?

No, because nohup launches emerge in the background and immediately 
returns

> I've not use nohup for a few years, not since I discovered screen,
> but ISTR you need to run in in the background.

nohup was designed to do things like run a process overnight and still 
allow the user to logout from the shell that launched it, without 
killing the nohup-ed process. stdout goes to a file in case you want to 
review it later.

But nohup doesn't give you a way to reconnect the backgrounded process 
or even to see it's output. You kinda just leave it to run till it 
doesn't show up in ps anymore

alan
-- 
gentoo-user@gentoo.org mailing list

Reply via email to