Question: What is the key difference between a redirect (>) and piping to the tee command?
- The tee command sends output only to STDOUT and STDERR.
- A redirect sends output to STDOUT and a file, whereas a tee sends output only to STDOUT.
- Nothing, they are the same.
- The tee command sends output to STDOUT and a file, whereas a redirect sends output only to a file.
Answer: The correct answer of the above question is Option D:The tee command sends output to STDOUT and a file, whereas a redirect sends output only to a file.