[vox-tech] quick, stupid bash question
Shawn P. Neugebauer
vox-tech@lists.lugod.org
Wed, 29 May 2002 12:32:45 -0700
On Wednesday 29 May 2002 12:18 pm, you wrote:
> On Wed, May 29, 2002 at 11:29:29AM -0700, Peter Jay Salzman wrote:
> > begin nbs <nbs@sonic.net>
> >
> > > strace lsof 2>&1 1> /dev/null | grep
> >
> > ok, haven't tried this, but this looks to me like:
> >
> > put stderr into stdout
> > redirect stdout (and therefore stderr) into /dev/null
> > pipe stdout (which should be null) to grep.
>
> The order of operation of file operators is right to left.
> [snip]
The order of redirects is left to right.
shawn.