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 is the use of the tee command?

1054


Why is it called a shebang?

1090


Does cp command overwrite files?

1134


How does pipe () work?

1041


What does grep v grep do?

1023


What does the “echo” command do?

1097


What is command statement?

1103


Enlist some filename manipulation commands in unix.

1086


What is grep in bash?

1007


What is the command to view process running?

1068


Is command prompt unix?

1096


Which command will print your home directory on screen?

1031


Differentiate cmp command from diff command.

1103


What does pipe () return?

1023


How do I find previous commands in unix?

1123