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 are filter commands in unix?

1105


What is the first character of the output in ls l command?

1156


What does grep v grep do?

1022


What does touch command do in unix?

1342


How do I delete files from command prompt?

1155


Which command is used to restrict incoming messages?

1043


What are the general commands in using unix os for a beginner?

1094


What is “chmod” command?

1097


What are the dos commands?

1195


What is awk used for?

1077


What is the use of sed command in unix?

1139


What is sed awk grep?

1071


What is the comma to display different lines that are found when compare two files?

1083


What is the use of find command in unix?

1074


Give the command for finding the current date.

1036