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 the comma to show the space allocation of files?
Differentiate cat command from more command.
What is awk good for?
What does #!/ Bin sh do?
What is unix command line?
What happens when we execute a unix command?
What does sed command do in unix?
What is the difference between cat and more command?
How do I search for a file in unix command?
Explain mount and unmount command.
What do know about tee command and its usage?
What is .sh file?
What is the search command in unix?
What is the unix command to confirm a remote host is alive or not?
What is the significance of the 'tee' command?