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 tee command?
Name the general commands in using unix os for a beginner?
Differentiate cat command from more command.
What command will change your prompt to myprompt?
Are you in or at the office?
Is ‘du’ a command? If so, what is its use?
What is the command to compare two files in unix?
What is a bash command?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is grep command in unix with examples?
How does the system know where one command ends and another begins?
Explain command to display different lines that are found when compare two files?
What is the command to view process running?
What is time_t?
why metadb requires a seperate slice to create Solaris volume manager