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 happens when we execute a unix command?
Explain the steps that a shell follows while processing a command.
Describe the usage and functionality of the command rm –r * in unix?
How many unix commands are there?
Name the unix command to find how many days the server has been up.
What is grep and how do you use it?
What is time_t?
What is ‘ps’ command for?
What are the unix commands?
What does the command '$ls | wc –l > file1' do?
How can we use grep command in unix?
What command is used to switching between users in unix?
Explain command to view process running?
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)?
What is the pipe command?