Tee - I/O Multiplexer
Read standard input and write to both standard output and one or more files simultaneously. Useful for logging command output while monitoring progress.
Usage
command | tee-tool [options] <file...>
Options
-a: Append to files instead of overwriting-i: Ignore interrupt signals
Examples
echo "data" | tee-tool output.txt
ls -la | tee-tool -a log.txt
make 2>&1 | tee-tool build.log