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
How do I clear my terminal history?
What is .sh file?
Which unix command lists files/folders in alphabetical order?
What does grep v grep do?
How do I use nslookup?
What is the general format of unix command syntax?
How to find $ai_serual resolved path by using unix
why metadb requires a seperate slice to create Solaris volume manager
What is the use of find command in unix?
Which command is used to kill the last background job?
What command will change your prompt to myprompt?
What is the use of the command 'ls -x chapter[1-5]' ?
How do I search for text in vi?
Explain command to view process running?
What is {} in find command?