Sidetrack: Standard I/O Streams, Redirects (cont)
The streams stdin , stdout , stderr can be redirected
- redirecting
stdin
prompt$ myprog < input.data
|
- redirecting
stdout
prompt$ myprog > output.data
|
- redirecting
stderr
prompt$ myprog 2> error.data
|
|