Re: [SLUG] Is there a shell one liner to do this?

From: herrold (herrold@owlriver.com)
Date: Tue Apr 10 2001 - 09:02:10 EDT


kill -9 `ps ax | grep [n]ets | awk {'print $1'}`

On Tue, 10 Apr 2001, Michael Manchester wrote:

> I was wondering if there is a shell oneliner that can
> take the ouput of ps -A and piping through grep or awk
> kill process that match a search string.
>
> Sometimes netscape leaves a number netscape-common
> process running. When this happens I have to kill all



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:25:37 EDT