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 s and g in sed command?
What is awk used for?
What is unix command line?
What is the use of tee command?
Is grep faster than awk?
What command will change your prompt to myprompt?
What do chown command do?
What does sed command do in unix?
Which unix command lists files/folders in alphabetical order?
What is $0 bash?
How do you repeat a command in terminal?
Which unix command to make a new directory?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I run a bash script?