TOOL » LINUX » PACKAGE

Tee

Outputs both to file and stdout.

shell
tee OPTIONS FILE
-a  # Append

Example

shell
command | tee new_file