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

How do I clear my terminal history?

573


What is unix command?

573


Which unix command lists files/folders in alphabetical order?

608


Explain mount and unmount command.

607


What does grep v do?

549






What are reported commands?

556


What is the command to compare two files in unix?

612


What is the search command in unix?

588


why metadb requires a seperate slice to create Solaris volume manager

2544


What does the md command do?

560


What is sed awk grep?

598


Explain command to show the space allocation of files?

622


What is the unix command to confirm a remote host is alive or not?

569


What is ‘ps’ command for?

608


What command is used to check the current users?

582