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 pipe command in unix?

1243


What is the use of sed command in unix?

1152


What do chgrp command do?

1154


What is the difference between cat and more command?

1238


Explain how to use grep command to list find the records of a file containing 10 different strings?

1021


Who invented grep?

1121


What is .sh file?

1120


Who wrote grep?

1018


What does the command '$ls | wc –l > file1' do?

1182


Which command is used to copy files?

1128


Differentiate cat command from more command.

1091


What is the use of finger command?

1153


Is ‘du’ a command? If so, what is its use?

1099


What's a command word?

1120


Differentiate cmp command from diff command.

1113