grep'ping the ps output....

Kirk Strauser kirk at daycos.com
Mon Dec 12 08:33:53 PST 2005


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


More information about the freebsd-questions mailing list