🎴 Flashcard Mode

Linux and Windows Operating Systems

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Which command is used to redirect output to a file as well the standard output ?

AnswerClick to flip back
A
tee
💡 Explanation:

The tee command reads from standard input and writes to both a file and standard output simultaneously. This is useful when you want to save output to a file while also seeing it on screen. Operators like > only redirect to files, redirect and trap are unrelated commands.

Change Mode