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 / nirav

PIPE- "|" :- **. It is an IPC(Inter Process Communication).
*. It means that the out put of the first command is the
Input of the second command.
**. Like wise 3rd, 4th, 5th.....nth.
tee :- **. tee generates two outputs always.
**. It's a filter ! by using tee we can send the output to
a new file at the same moment we can see the output on the
screen.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmdir command?

1153


How can we use grep command in unix?

1264


How do I use grep to find a file?

1164


Can you explain a little bit about command substitution?

1164


What is the use of tee command?

1239


How do you grep recursively?

1154


What do know about tee command and its usage?

1249


What is $0 bash?

1255


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

1255


What are file commands?

1288


Who command in unix?

1190


What are grep patterns?

1148


What happens when we execute a unix command?

1199


What does this command do? Cat food 1 > kitty

1637


Does cp command overwrite files?

1269