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 used to type command?
What do chown command do?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Write a command that will display files in the current directory, in a colored, long format.
What is the difference between cat and more command?
What is the difference between awk and grep?
What is updatedb?
What are the differences among a system call, a library function, and a unix command?
Why is shebang used?
What is ‘ps’ command for?
How do I use nslookup?
What is pipe command in unix?
Differentiate cmp command from diff command.
Is it inbetween or in between?
What are reported commands?