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 do chgrp command do?
What is the first character of the output in ls l command?
What is updatedb?
What do chown command do?
What does the command ' $who | sort –logfile > newfile' do?
Which unix command lists files/folders in alphabetical order?
What does this command do,"$more readme.txt“?
What is grep r?
Why is awk called awk?
What command is used to check the current users?
What is difference between grep and find command in unix?
What does this command do? Cat food 1 > kitty
What is the significance of the 'tee' command?
Is command prompt unix?
What is nr in awk command?