Linux Command Tee Examples How It Works
tee
command in linux command line, how tee
works, simple explanations. Imagine the tee
command as a ‘T’ , input on the left and 2 exists or outputs, right and down. Output to a file or another command AND output to the screen.
WORK IN PROGRESS
cat SAMPLE_FILE | tee > this_file.log
INPUT >>> ----|----- >>> output_file OR output_to_another_command
|
|
|
|
|
>>>> output_to_screen
Happy learning