If you know the names of the programs, the line

killall -9 programname1 programname2 programname3

  will kill the programs, hard.  It is always better to just try a killall
before you do a killall -9.

  You can use the command line 

ps ax | grep programname

 and the first thing on the line is the pid.

bug

> 
> Wow, that damned-near blew off my toup�e!  Seriously, how would you get
> it to get the pid for each program and store into an array?
> 
> Seve
> 
> -----Original Message-----
> From: Ken Wilson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Sunday, March 19, 2000 9:31 PM
> Subject: RE: [expert] How To Kill An Application From Command Line?
> 
> 
> >The typical command for killing something from the command line is
> >
> >   kill -9 <pid>

Reply via email to