What is the difference between pipe (|) and tee command in unix
Answer Posted / madhusudhan
pipe: pipe is used to redirect the output to the input of an
another command.
to see oracle processes.
ps -ef | grep SIDNAME
Here grep will find the sidname and the output of grep will be used as input to display processes.
tee : using tee we can send the output to
a new file at the same time we can see the output on the
screen
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is pipe command in unix?
What is the use of sed command in unix?
What do chgrp command do?
What is the difference between cat and more command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Who invented grep?
What is .sh file?
Who wrote grep?
What does the command '$ls | wc –l > file1' do?
Which command is used to copy files?
Differentiate cat command from more command.
What is the use of finger command?
Is ‘du’ a command? If so, what is its use?
What's a command word?
Differentiate cmp command from diff command.