$ unalias fooee 2>&1 >/dev/null
bash: unalias: fooee: not found
Why is the error message displayed here? Because of the redirection,
I had expected that any error message resulting from the unalias
command would go to /dev/null
Ronald
--
Ronald Fischer (phone +49-89-63676431)
mailto:[EMAIL PROTE
"Com MN PG P E B Consultant 3" <[EMAIL PROTECTED]>
writes:
> $ 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 differe
> > $ 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! Stupi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Com MN PG P E B Consultant 3 on 8/28/2006 2:41 AM:
> $ unalias fooee 2>&1 >/dev/null
> bash: unalias: fooee: not found
>
> Why is the error message displayed here? Because of the redirection,
> I had expected that any error message result