What is the difference between pipe (|) and tee command in unix
Answer Posted / rajib mallick
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.
..for any query you can e-mail me on "rajib.ku@gmail.com".
| Is This Answer Correct ? | 46 Yes | 0 No |
Post New Answer View All Answers
How do I use grep to search for a file?
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 does sed command do in unix?
What do know about tee command and its usage?
How does shebang work?
What is s and g in sed command?
Who command in unix operating system?
What is $0 bash?
What is the comma to display different lines that are found when compare two files?
How can you see the command line history?
Are you in or at the office?
Why is grep called grep?
Is it inbetween or in between?
What is command substitution?
What is the use of the command 'ls -x chapter[1-5]' ?