What is the difference between pipe (|) and tee command in unix
Answer Posted / nirav
PIPE- "|" :- **. It is an IPC(Inter Process Communication).
*. It means that the out put of the first command is the
Input of the second command.
**. Like wise 3rd, 4th, 5th.....nth.
tee :- **. tee generates two outputs always.
**. It's a filter ! by using tee we can send the output to
a new file at the same moment we can see the output on the
screen.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does #!/ Bin sh do?
Is grep faster than awk?
What does grep v do?
How do I use grep to find a file?
What is command substitution?
What is the search command in unix?
Who command in unix?
What is updatedb?
Why is grep called grep?
How do I run a bash script?
What difference between cmp and diff commands?
What is pipe command in unix?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What command will change your prompt to myprompt?
How can we use grep command in unix?