Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 1997 20:56:08 -0600
From:      dkelly@hiwaay.net
To:        Jen and Luke <isis@servtech.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: awk<ward> 
Message-ID:  <199703160256.UAA16615@nexgen.hiwaay.net>
In-Reply-To: Message from Jen and Luke <isis@servtech.com>  of "Sat, 15 Mar 1997 17:33:31 EST." <332B23BB.41C67EA6@servtech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Jen and Luke write:
>
> 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?

Whats wrong with "/usr/bin/killall"? Its in perl.

--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703160256.UAA16615>