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


Please Help Members By Posting Answers For Below Questions

What is a bash command?

838


What is the pipe command?

821


How do I find previous commands in unix?

821


Are you in or at the office?

841


What is the use of sed command in unix?

843


How does shebang work?

808


What is the use of egrep command in unix?

832


What are some command words?

823


What is the functionality of a top command?

836


How do I delete files from command prompt?

812


Who wrote grep?

773


Why is awk called awk?

782


Which command should you use to find the remaining disk space in unix server?

976


What do know about tee command and its usage?

858


What is awk command used for?

790