Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 1997 18:21:08 +0800 (WST)
From:      Adrian Chadd <adrian@obiwan.aceonline.com.au>
To:        Jen and Luke <isis@servtech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: awk<ward>
Message-ID:  <Pine.BSF.3.95q.970316182022.2031A-100000@obiwan.aceonline.com.au>
In-Reply-To: <332B23BB.41C67EA6@servtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

If you are running FreeBSD 2.2 .. try the "killall" command.
If not, grab it from someone running it, or ask and I'll mail it to you
(its a perl script).

Cya.

Adrian.


On Sat, 15 Mar 1997, Jen and Luke wrote:

> Hi, 
> We are trying to make a command to kill something based on its name,
> someone posted the instructions awhile back, but this is as far as we
> got...  
> ps -ax | grep "string" | grep -v grep
> 
> We know we need to pipe to awk to print the pid, but aren't sure of how
> to do it... Oh, and the man page sucks...:)  How do we nominate it for
> the worst man page award?
> -- 
> Jen, Luke, Rusty <M2>, Ruckus <U2>, Telly <tiel>, and 4 cats
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970316182022.2031A-100000>