Date: Mon, 12 Dec 2005 10:33:44 -0600 From: Kirk Strauser <kirk@daycos.com> To: freebsd-questions@freebsd.org Subject: Re: grep'ping the ps output.... Message-ID: <200512121033.44950.kirk@daycos.com> In-Reply-To: <439DA275.70404@dial.pipex.com> References: <439D9FA3.7030603@computer.org> <439DA275.70404@dial.pipex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 12 December 2005 10:16, Alex Zbyslaw wrote:
> ps | egrep firefox | egrep -v egrep
Ouch! Replace that with:
ps | grep "[f]irefox"
which will never match the grep commandline itself.
--
Kirk Strauser
The Day Companies
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512121033.44950.kirk>
