[SunHELP] repost: egrep w/multiple criteria
Fri Jul 12 08:49:43 CDT 2002
How can I egrep for a process that contains both EXPR1 and
EXPR2. Where EXPR1 "could" be /this and EXPR2 could be
test.
For example:
> ps -aef | grep -v grep | egrep '/this&test'
luser 1640 1628 0 Jul 09 ? 1:18 /this/is/a/test
*the above syntax doesn't return anything.
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list