TOOL » LINUX » PACKAGE
Tee
Outputs both to file and stdout.
shell
tee OPTIONS FILE
-a # Append
Example
shell
command | tee new_file
Outputs both to file and stdout.
tee OPTIONS FILE
-a # Append
command | tee new_file