What is the difference between pipe (|) and tee command in unix
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ravikumar reddy .dubba
pipe(|):--pipe is the symbol which is used to combine 2
filters,2 commands or filter and command,
When we combine two operations by using pipe, first
operation o/p acts standard i/p for second operation ,and
second operation gives Standard o/p,
Tee:--tee is the command, we can copy a file data to
multiple files at a time
dubba.ravikumarreddy@gmail.com
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / gopi.k
pipe->it is a inter related processer,it is a unidirectional
| Is This Answer Correct ? | 0 Yes | 3 No |
what do you understand bythe term 'de-mountable volumes'?
What happens when we execute a unix command?
Which unix command to make a new directory?
solaris Run level?
How are UNIX file permissions represented?
Name the various commands that are used for the user information in unix.
Write a command to find all of the files which have been accessed within the last 30 days.
What is time_t?
What is the difference between cat and more command?
Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
Differentiate cmp command from diff command.