Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is grep in bash?

1055


What is $0 bash?

1201


hw will u use awk in replacing cahrs and files

3239


How does pipe () work?

1088


Give the command for finding the current date.

1104


What is the difference between cat command and more command?

1202


What command will change your prompt to myprompt?

1323


What is the general format of unix command syntax?

1918


What is the use of the command 'ls -x chapter[1-5]' ?

1210


What are the commands in UNIX to list the files in a Directory?

1175


What is unix command line?

1246


What does find command return in unix?

1145


How do I search for a file in unix command?

1014


What is the command to find maximum memory taking process on the server?

1206


How can you see the command line history?

1135