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 are awk commands?

1225


What is the command to find hidden files in the current directory?

1235


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1285


What do chgrp command do?

1286


What are filter commands in unix?

1259


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

1299


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

1253


Explain ‘system calls’ with respect to unix commands?

1153


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

1264


Why is it called a shebang?

1248


What is the use of egrep command in unix?

1243


How do you grep recursively?

1153


What does the “echo” command do?

1195


How do I clear my terminal history?

1230


how to sort the content of the file based on numeric values

1833