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..

Answer Posted / manoj gadtia

pipe direct output of one command to the input of another
command

ls -l | wc


tee command reads standard input, then writes the output
to standard output and simultaneously copies it into the
specified file or files

ls -l | wc -l | tee out.txt

It shows the output and also write the result into out.txt
file

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 'mkdir' command do in UNIX?

1368


why metadb requires a seperate slice to create Solaris volume manager

3247


What is time_t?

1161


What does the command ' $who | sort –logfile > newfile' do?

1321


What difference between cmp and diff commands?

1348


Name the general commands in using unix os for a beginner?

1215


Enumerate some of the most commonly used network commands in unix?

1215


What does the metacharacter mean?

1187


What's a command word?

1246


What is difference between grep and find command in unix?

1276


What is rmdir command?

1151


Why is awk called awk?

1136


Which command is used to restrict incoming messages?

1145


Explain mount and unmount command.

1278


Which unix command lists files/folders in alphabetical order?

1846