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


Please Help Members By Posting Answers For Below Questions

What is the first character of the output in ls l command?

637


How many unix commands are there?

631


Which command is used to kill the last background job?

783


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)?

962


What does touch command do in unix?

733






Why is shebang used?

599


Is command prompt unix?

586


How to find $ai_serual resolved path by using unix

1029


What is the function of grep command in unix?

593


What does the metacharacter mean?

612


Write a command to kill the last background job?

620


What is grep short for?

558


Name the general commands in using unix os for a beginner?

625


What is used to type command?

545


Which unix command to make a new directory?

593