[WBEL-users] Another Shell Scripting Question

Purcocks, Graham grahamp at wsieurope.com
Wed Jun 15 14:33:01 CDT 2005


Yes, but I can't think :) :( Not much help

Oh silly me

 | head 1 |

Of course.

This is the power of unix. A lot of programs which do simple things but
when stitched together do really powerful things.

Unix forever.

Graham 

-----Original Message-----
From: whitebox-users-bounces at beau.org
[mailto:whitebox-users-bounces at beau.org] On Behalf Of Andrew Vong
Sent: 15 June 2005 19:45
To: whitebox at beer.org.uk; whitebox-users at beau.org
Subject: RE: [WBEL-users] Another Shell Scripting Question


Hi Vic,

Sorry, perhaps I wasn't very clear. I don't want to kill ALL processes.
I 
only want to kill the top most process.

Is there a way to limit the std output? so that only 1 PID gets sent to
be 
killed?

TIA,
Andrew

At 02:37 AM 16/06/2005, Vic wrote:
> > I suppose this would work great if there were only 1 process as a
result of
> > the cmd above.
> >
> > What would happen if there were more than 1 PID from std output?
> >
> > Will it kill ALL PIDs that were produced from std output?
>
>man killall
>
>HTH
>
>Vic.
>
>
>
>_______________________________________________
>Whitebox-users mailing list
>Whitebox-users at beau.org
>http://beau.org/mailman/listinfo/whitebox-users

_______________________________________________
Whitebox-users mailing list
Whitebox-users at beau.org
http://beau.org/mailman/listinfo/whitebox-users




More information about the Whitebox-users mailing list