Hiếu Hoàng
Member
What happens if I first redirect stdout to a file and then redirect stderr to the same file?
Answer
When you redirect both standard output and standard error to the same file, you may get some unexpected results. This is due to the fact that STDOUT is a buffered stream while STDERR is always unbuffered.
Answer
When you redirect both standard output and standard error to the same file, you may get some unexpected results. This is due to the fact that STDOUT is a buffered stream while STDERR is always unbuffered.