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 is the use of the tee command?
Why is it called a shebang?
Does cp command overwrite files?
How does pipe () work?
What does grep v grep do?
What does the “echo” command do?
What is command statement?
Enlist some filename manipulation commands in unix.
What is grep in bash?
What is the command to view process running?
Is command prompt unix?
Which command will print your home directory on screen?
Differentiate cmp command from diff command.
What does pipe () return?
How do I find previous commands in unix?