Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 1997 17:33:31 -0500
From:      Jen and Luke <isis@servtech.com>
To:        freebsd-questions@freebsd.org
Subject:   awk<ward>
Message-ID:  <332B23BB.41C67EA6@servtech.com>

next in thread | raw e-mail | index | archive | help
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?332B23BB.41C67EA6>