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 / ruth suganya sebastian

pipe is used to execute two or more commands
eg:select ename||'works as '||job from emp;

tee is used to create an empty file,stores the output and
then displays the contents on the screen
eg: grep "^d" filename||tee file

Is This Answer Correct ?    49 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's a command word?

1246


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

1253


What is s and g in sed command?

1161


What will the following command do?

1172


Differentiate cat command from more command.

1201


What is time_t?

1161


What is the difference between awk and grep?

1331


What is ‘ps’ command for?

1238


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1623


Which unix command lists files/folders in alphabetical order?

1846


why metadb requires a seperate slice to create Solaris volume manager

3245


How to display no of records in oracle using unix command?

1223


Name the various commands that are used for the user information in unix.

1130


Enlist some filename manipulation commands in unix.

1219


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

1202