Personal tools

Difference between revisions of "I/O redirection"

From MohidWiki

Jump to: navigation, search
(Examples)
 
m (1 revision)
 
(No difference)

Latest revision as of 11:27, 3 December 2008

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.

External References