What is the difference between pipe (|) and tee command in unix
Answer Posted / ruth suganya sebastian
pipe is used to execute two or more commands
eg:select ename||'works as '||job from emp;
tee is used to create an empty file,stores the output and
then displays the contents on the screen
eg: grep "^d" filename||tee file
| Is This Answer Correct ? | 49 Yes | 22 No |
Post New Answer View All Answers
What's a command word?
What are the commands in UNIX to list the files in a Directory?
What is s and g in sed command?
What will the following command do?
Differentiate cat command from more command.
What is time_t?
What is the difference between awk and grep?
What is ‘ps’ command for?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Which unix command lists files/folders in alphabetical order?
why metadb requires a seperate slice to create Solaris volume manager
How to display no of records in oracle using unix command?
Name the various commands that are used for the user information in unix.
Enlist some filename manipulation commands in unix.
Is ‘du’ a command? If so, what is its use?