DocTaur - intranet directory of reference manuals
Yo-store
books for webmasters

reference manuals search engine

Bash Reference Manual for version 2.05.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.6.4 Redirecting Standard Output and Standard Error

Bash allows both the standard output (file descriptor 1) and the standard error output (file descriptor 2) to be redirected to the file whose name is the expansion of word with this construct.

There are two formats for redirecting standard output and standard error:
 
&>word
and
 
>&word
Of the two forms, the first is preferred. This is semantically equivalent to
 
>word 2>&1



This document was generated by rdg (Feb 25 2004) using texi2html