I am able to redirect stdout
and stderr
to separate files using:
dir >> out 2>> error
or stderror
and stdout
together to a single file using:
dir >> consolidate 2>&1
How can I do this together (get out, error, consolidate files at a time)?