Linux/Unix     &
       -

             2010, Spring
• 0-   - STDIN
• 1-   - STDOUT
• 2-   - STDERR
STDIN#0

           Program

STDOUT#1             STDERR#2
STDOUT
          STDERR


STDOUT=

STDERR=
Redirection


• 1>
• 2>
•<         STDIN(input)
•   nl-

•   cat    tac-     STDIN   STDOUT

•   head    tail-

•   more    less-

•   cut-

•   wc-

•   uniq-

•   sort-

•   grep-

Linux pipe & redirection