[Techtalk] Using > to redirect standard error?

Rachel McConnell rachel at xtreme.com
Tue Jan 13 20:48:22 EST 2004


> -----Original Message-----
> On January 13, 2004 7:01 pm, Rachel McConnell wrote:
> > So I've come up with the theory that there are two outputs 
> which both 
> > normally print to console, call them stdout and stderr.  > 
> appears to 
> > redirect stdout, but not stderr.
> 
> What you're looking for is the second redirect operator, 
> "2>". That will 
> generally work on Linux, but I don't know about cygwin.
> 
> - -- 
> Best Regards,
> Anthony Gorecki

In fact it works on cygwin!  Thanks much.  The regular messages, what I
called stdout, appear to be suppressed entirely using 2>, although for
my purposes this is fine.  "second redirect operator"  I'll do some
research on that; I never knew such a thing existed.

Rachel



More information about the Techtalk mailing list