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 is rmdir command?
How can we use grep command in unix?
How do I use grep to find a file?
Can you explain a little bit about command substitution?
What is the use of tee command?
How do you grep recursively?
What do know about tee command and its usage?
What is $0 bash?
What are the commands in UNIX to list the files in a Directory?
What are file commands?
Who command in unix?
What are grep patterns?
What happens when we execute a unix command?
What does this command do? Cat food 1 > kitty
Does cp command overwrite files?