What is the difference between pipe (|) and tee command in unix
Answer Posted / nirav
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.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What's a command word?
What is the functionality of a top command?
What is the function of grep command in unix?
Is it inbetween or in between?
How does shebang work?
What is the general format of unix command syntax?
How do you repeat a command in terminal?
What does touch command do in unix?
What is awk command used for?
What does grep v do?
What is command statement?
Which command is used to find whether the system is 32 bit or 64 bit?
What does sed command do in unix?
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
Which command can you use to find the currently running process in unix server?