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 the use of cut command in unix?

685


Are you in or at the office?

609


Can you explain a little bit about command substitution?

600


Explain command to view process running?

609


hw will u use awk in replacing cahrs and files

2722






What is rmdir command?

545


What is a command and examples?

575


What does sed command do in unix?

556


Which command can you use to find the currently running process in unix server?

582


What do chown command do?

528


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

575


What is unix command line?

602


Is it inbetween or in between?

574


Is ‘du’ a command? If so, what is its use?

629


Differentiate cat command from more command.

572