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 ctrl d?
What does grep v grep do?
Who command in unix operating system?
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
What are filter commands in unix?
What is grep short for?
What is the use of egrep command in unix?
What is the comma to display different lines that are found when compare two files?
What is ‘ps’ command for?
What is in grep command?
Describe the zip/unzip command using gzip.
What is grep and how do you use it?
How does the system know where one command ends and another begins?
How does shebang work?
Which command is used to find whether the system is 32 bit or 64 bit?