in reply to Re: running program?
in thread running program?

There's a trivial way to get around ps|grep finding itself, though:
$ ps aux | grep [P]ROGRAM $
Agreed on everything else.

Replies are listed 'Best First'.
Re^3: running program?
by Fletch (Bishop) on May 25, 2006 at 03:35 UTC

    Note that you may need to quote the brackets to keep them from being interpreted or eaten by your shell.

    $ ps xuaw | grep '[p]rogram' $