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
How does the system know where one command ends and another begins?
Write a command to display a file’s contents in various formats?
Explain ‘library functions’ with respect to unix commands?
How can you see the command line history?
What is merge command in unix?
How do you grep a case insensitive?
What is {} in find command?
Name the unix command to find how many days the server has been up.
What do know about tee command?
What's a command word?
How do I use grep to search for a file?
What is grep in bash?
What is the difference between cat and more command?
What is the comma to show the space allocation of files?
How to find $ai_serual resolved path by using unix