Linux tee command
The Linux tee command is used to route output data to multiple outputs. Tee can display output on STDOUT as well as write to file at a time.
Example
The following command will display a list of files in the current directory on the screen as well as write-in list.txt file.
Append Data to File
The default tee overwrites the file content. You can use -a to append data to a file.
Write data to Multiple File
You can also write the output to multiple files in a single command. The example is below
0 Comments
CAN FEEDBACK
Emoji