I want to redirect both stdout and stderr of a process to a single file. How do I do that in Bash?
"Easiest" way (bash4 only): ls * 2>&- 1>&-.
ls * 2>&- 1>&-