Date: Sun, 16 Mar 1997 18:01:01 +0100 (MET) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: adrian@obiwan.aceonline.com.au (Adrian Chadd) Cc: questions@freebsd.org Subject: Re: awk<ward> Message-ID: <199703161701.SAA02254@helbig.informatik.ba-stuttgart.de> In-Reply-To: <Pine.BSF.3.95q.970316182022.2031A-100000@obiwan.aceonline.com.au> from Adrian Chadd at "Mar 16, 97 06:21:08 pm"
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. > Or you can use awk '{print $2}' Wolfgang > > 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?199703161701.SAA02254>