tee
Linux · Terminal · available in the simulator
What it does
Read from standard input and write to standard output and files.
Syntax
tee [opciones] archivo...
Options and parameters
-aAppend to the given files, do not overwrite.
echo hola | tee -a registro.txt-iIgnore interrupt signals.
Usage examples
echo hola | tee -a registro.txt
Notes and common mistakes
- Writes to both standard output and the specified file simultaneously.