I/O redirection
From MohidWiki
0 - stdin 1 - stdout 2 - stderr
Syntax
> command < input-file > output-file > command i>&j
Examples
> make > makelog.log 2>&1
Redirects all make output to makelog.log file as stderr is redirected to stdout.
0 - stdin 1 - stdout 2 - stderr
> command < input-file > output-file > command i>&j
> make > makelog.log 2>&1
Redirects all make output to makelog.log file as stderr is redirected to stdout.
|