[EMAIL PROTECTED] writes:
> In <003901c255c3$eb1c9da0$[EMAIL PROTECTED]>, on
> 09/06/2002 at 08:39 AM,
> "daniel" <[EMAIL PROTECTED]> said:
>
> >i understand how to put a command in the background by putting an '&' on
> >the end, but it seems that this doesn't separate the command from that
> >xterm.
>
> Someone has already told you about nohup, and that's probably the answer
> you need for what you are doing.
It's a good idea to redirect the output (stdout and stderr) too, like this:
nohup command > /tmp/command.out 2>&1 &
or to discard any output:
nohup command > /dev/null 2>&1 &
If you don't redirect the output, nohup will redirect it to ./nohup.out or
$HOME/nohup.out which may not be what you want.
--
tim writer <[EMAIL PROTECTED]> starnix inc.
tollfree: 1-87-pro-linux thornhill, ontario, canada
http://www.starnix.com professional linux services & products
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list