[vox-tech] quick, stupid bash question

nbs vox-tech@lists.lugod.org
Wed, 29 May 2002 11:19:20 -0700


On Wed, May 29, 2002 at 11:11:19AM -0700, Peter Jay Salzman wrote:
> ok, i should know this...
> 
> 
> this redirects stderr to stdout and pipes the whole thing to grep:
> 
>    strace lsof 2>&1 | grep System

Try something like:

     strace lsof 2>&1 1> /dev/null | grep


(For some reason, the other order ("2>&1" at the end) doesn't work)

-bill!