On Monday, 6 November 2006 03:24, Bill Spatz wrote:
> On Sun November 5 2006 06:04 pm, ET wrote:
> > J. D. Leach wrote:
> > > Time to be stupid again, what was it you typed in front of an
> > > application name in a console so that you could close the console
> > > without terminating your app?
> >
> > not sure about before, but ctrl+z seems to put some in the
> > background, in bash
>
> You can also use the ampersand (&) following the command
>
> i.e.   kcalc &
>


If you want to run a background process independently of the shell or parent 
process, then the commonly accepted method is:

nohup <command> & 

You may wish to consign the standard and error output to the great bitbucket 
in the sky too, so then you would include some redirection:

nohup <command> 2>&1 > /dev/null &

The use of nohup means that you can log out of the shell and the process will 
continue until it terminates normally.

I hope that helps.

cheers
Duncan
Send instant messages to your online friends http://uk.messenger.yahoo.com 
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to