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 grep in bash?
What is $0 bash?
hw will u use awk in replacing cahrs and files
How does pipe () work?
Give the command for finding the current date.
What is the difference between cat command and more command?
What command will change your prompt to myprompt?
What is the general format of unix command syntax?
What is the use of the command 'ls -x chapter[1-5]' ?
What are the commands in UNIX to list the files in a Directory?
What is unix command line?
What does find command return in unix?
How do I search for a file in unix command?
What is the command to find maximum memory taking process on the server?
How can you see the command line history?