Re: kill with regex?
On Mon, Jan 20, 2003 at 12:35:08PM +0000, Colin Watson wrote:
> On Mon, Jan 20, 2003 at 12:18:39PM +0000, Hugh Saunders wrote:
> > so now we have the understanding, why dont they die?
> >
> > anni:~# ps -C xine -o pid=
> > 1609
> > 1610
> > 1618
> > 1619
> > 1620
> > anni:~# ps -C xine -o pid= |xargs kill
> > anni:~# ps -C xine -o pid=
> > 1609
> > 1610
> > 1618
> > 1619
> > 1620
> > anni:~#
>
> Try 'xargs kill -9'?
anni:~# ps -C xine -o pid= |xargs kill -9
anni:~# ps -C xine -o pid=
anni:~#
gottem! thanks
hugh
Reply to: