tee flags & options
-a, --append
Append to the given files, do not overwrite.
echo "new line" | tee -a file.txt
command | tee -a log1.txt log2.txt
-i, --ignore-interrupts
Ignore interrupt signals.
long-running-command | tee -i output.log
make 2>&1 | tee -i build.log