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 does 'mkdir' command do in UNIX?
why metadb requires a seperate slice to create Solaris volume manager
What is time_t?
What does the command ' $who | sort –logfile > newfile' do?
What difference between cmp and diff commands?
Name the general commands in using unix os for a beginner?
Enumerate some of the most commonly used network commands in unix?
What does the metacharacter mean?
What's a command word?
What is difference between grep and find command in unix?
What is rmdir command?
Why is awk called awk?
Which command is used to restrict incoming messages?
Explain mount and unmount command.
Which unix command lists files/folders in alphabetical order?