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

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

631


What is command substitution?

631


How to use grep command to list find the records of a file containing 10 different strings?

654


How do I use grep to search for a file?

588


Give the command for finding the current date.

591






Describe the usage and functionality of the command rm –r * in unix?

833


why metadb requires a seperate slice to create Solaris volume manager

2564


What is difference between grep and find command in unix?

592


Using unix command how to display no of records in oracle?

620


How do you grep recursively?

566


What are filter commands in unix?

559


How can we use grep command in unix?

623


Why is awk called awk?

583


What is the use of sed command in unix?

608


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

969