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
Who command in unix operating system?
What does touch command do in unix?
Name the general commands in using unix os for a beginner?
What are some command words?
What is the difference between cat and more command?
What does grep v do?
How do I clear my terminal history?
What does sed command do in unix?
Which command is used to delete all files in the current directory and all its sub-directories?
Which unix command lists files/folders in alphabetical order?
What command is used to switching between users in unix?
Why is awk called awk?
What is pipe command in unix?
What does 'mkdir' command do in UNIX?
Can you enlist some commonly used network commands?