what is the difference between pipe(|) and tee command..
Answer Posted / manoj gadtia
pipe direct output of one command to the input of another
command
ls -l | wc
tee command reads standard input, then writes the output
to standard output and simultaneously copies it into the
specified file or files
ls -l | wc -l | tee out.txt
It shows the output and also write the result into out.txt
file
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the use of cut command in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the use of finger command?
What do chown command do?
Explain ‘library functions’ with respect to unix commands?
How many unix commands are there?
What is awk good for?
What is {} in find command?
Explain command to show the space allocation of files?
What is awk command used for?
Write a command to kill the last background job?
How do you grep recursively?
What is merge command in unix?
What does this command do,"$more readme.txt“?
What is the general format of unix command syntax?