bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: why doesn't this error message go to the bit bucket?


From: Com MN PG P E B Consultant 3
Subject: RE: why doesn't this error message go to the bit bucket?
Date: Mon, 28 Aug 2006 11:56:42 +0200

> > $ unalias fooee 2>&1 >/dev/null
> > bash: unalias: fooee: not found
> >
> > Why is the error message displayed here?
> 
> Because you have redirected stderr (fd 2) to the channel connected to
> stdout (fd 1) before stdout was redirected to a different channel (to
> /dev/null).

Of course! Stupid me!!!! How could I make such a beginner's mistake!

Thank you for pointing this out.

Ronald Fischer
-- 
Ronald Fischer (phone +49-89-63676431)
mailto:mn-pg-p-e-b-consultant-3.com@siemens.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]