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
Which command is used to copy files?
What is grep and how do you use it?
Is ‘du’ a command? If so, what is its use?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is rmdir command?
What do chmod command do?
What is a bash command?
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 are the general commands in using unix os for a beginner?
What is awk good for?
What is in grep command?
What does touch command do in unix?
What are the differences among a system call, a library function, and a unix command?
hw will u use awk in replacing cahrs and files
How does shebang work?