Sending stardard error only to a pipe

m.w.chang mwchang
Mon May 17 11:39:35 PDT 2004


0 is stdin
1 is stdout
2 is stderr

if I remember correctly.

Joel Hammer wrote:
> I understand how to send std out to a pipe ( | ), and how to send std out and std
> error to a pipe, ( 2>&1 | ), but how to send just std error to a pipe?
> Thanks,
> Joel
> 

-- 
 Swiftly. Silently. Invisibly.  .~.   In Linux we trust.
                               / v \
 news://news.hkpcug.org       /( _ )\  http://www.linux-sxs.org
                                ^ ^
http://www.tuxedo.org/~esr/faqs/smart-questions.html



More information about the Linux-users mailing list