What constitute the standard streams?
Standard input (stdin), standard output (stdout) and standard error (stderr).
Stdin from file?
mycommand
Stdout to file (create, overwrite)?
mycommand > outfile
Stdout to file (append)?
mycommand»_space; outfile
Stderr to file (create, overwrite)?
mycommand 2> errorfile
Stdout and stderr to different files (create, overwrite)?
mycommand > outfile 2> errorfile
Stdout and stderr to the same files (create, overwrite)?
mycommand &> outfile