Intermediate
Linux & Shell Scripting
Q73 / 100
What is the purpose of the "tee" command?
Correct! Well done.
Incorrect.
The correct answer is A) It reads from standard input and writes the output to both standard output and one or more files simultaneously
A
Correct Answer
It reads from standard input and writes the output to both standard output and one or more files simultaneously
Explanation
"command | tee output.txt" lets you view a command's output on the terminal while simultaneously saving it to a file, useful for logging while monitoring.
Progress
73/100