Does tee overwrite file?

Does tee overwrite file?
Answer
By default,
the tee command will overwrite the file with the output of the initial command. Which can be overridden by using an append option using -a switch. Like with standard commands appending with >, the errors and stdout are handled differently in tee as well.
 

Tìm kiếm

Back
Top