Subject: Re: shell question...
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-help
Date: 01/31/2006 17:46:37
D'Arcy J.M. Cain --> netbsd-help (2006-01-31 11:36:56 -0500):
> On Tue, 31 Jan 2006 16:42:04 +0100
> Jukka Salmi <j+nbsd@2006.salmi.ch> wrote:
> > Hello,
> >
> > after starting a process in the background
> >
> > $ sleep 30 >/dev/null 2>&1 &
> >
> > and killing it
> >
> > $ kill $! >/dev/null 2>&1
> >
> > the following is printed to the terminal:
> >
> > [1] Terminated sleep 30 >/dev/null 2>&1
>
> man nohup
Hmm, I don't think this helps...
$ nohup sleep 30 >/dev/null 2>&1 &
[1] 17842
$ kill $! >/dev/null 2>&1
[1] + Terminated nohup sleep 30 > /dev/null 2>&1
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~