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
Who command in unix operating system?
What is the command to find hidden files in the current directory?
How does pipe () work?
How do I run a whois command?
What is awk used for?
What is awk good for?
How do I use grep to find a file?
What is rmdir command?
What is the search command in unix?
What is time_t?
What does 'mkdir' command do in UNIX?
How to use grep command to list find the records of a file containing 10 different strings?
What is s and g in sed command?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is the use of egrep command in unix?