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 does the command ' $who | sort –logfile > newfile' do?
What is the command to view process running?
Write a command that will display files in the current directory, in a colored, long format.
What are file commands?
Write a command to kill the last background job?
What happens when we execute a unix command?
What do chown command do?
why metadb requires a seperate slice to create Solaris volume manager
What is the behavioural difference between cmp and diff commands?
Describe the usage and functionality of the command rm –r * in unix?
How do I use nslookup?
Name the unix command to find how many days the server has been up.
Who command in unix?
What is the use of egrep command in unix?
How do I find previous commands in unix?