[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kill script



On Wed, 23 Feb 2000, David Wiard wrote:

dave >i'm looking for a script/command that will do something equivalent to:
dave >
dave >	ps -e | grep <prog name>
dave >	kill -9 <all occurances of said program>
dave >
dave >does anybody have something that will do this?  i don't know how to
dave >script well enough to do a script like this myself, yet.

does killall -9 <prog name> not do this for you? it should..

nate

----------------------------------------[mailto:aphro@aphroland.org ]--
   Vice President Network Operations       http://www.firetrail.com/
  Firetrail Internet Services Limited      http://www.aphroland.org/
       Everett, WA 425-348-7336            http://www.linuxpowered.net/
            Powered By:                    http://comedy.aphroland.org/
    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
10:02am up 187 days, 22:22, 1 user, load average: 1.19, 1.13, 1.04


Reply to: