Howdy-
Got this one from the O'Reilly Mason book.
We're all pretty used to using a variation of this idiom:
ps -ef|grep something|grep -v grep
instead, try:
ps -ef|grep '[s]omething'
for example:
ps -ef|grep '[d]nb'
Cool, no?
-- dNb