Answers for "tee into file"

C#
0

tee into file

foo | tee output.file
For example, if you only care about stdout:

ls -a | tee output.file
If you want to include stderr, do:

program [arguments...] 2>&1 | tee outfile
Posted by: Guest on February-04-2022

C# Answers by Framework

Browse Popular Code Answers by Language