Question: What Is Tee Command in Unix Examples?
Contents How Do You Use a Tee? the Tee Command, Used with a Pipe, Reads Standard Input, Then Writes the Output of a Program to Standard Output and...
Contents
How do you use a tee?
The tee command, used with a pipe, reads standard input, then writes the output of a program to standard output and simultaneously copies it into the specified file or files. Use the tee command to view your output immediately and at the same time, store it for future use.
Must Read
Which command in UNIX with examples?
Linux Command List
| Command | Description |
|---|---|
| ls – al | Lists files and directories with detailed information like permissions, size, owner, etc. |
| cat > filename | Creates a new file |
| cat filename | Displays the file content |
| cat file1 file2 > file3 | Joins two files (file1, file2) and stores the output in a new file (file3) |