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

Who command in unix operating system?

1142


What does touch command do in unix?

1433


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

1169


What are some command words?

1142


What is the difference between cat and more command?

1303


What does grep v do?

1060


How do I clear my terminal history?

1182


What does sed command do in unix?

1203


Which command is used to delete all files in the current directory and all its sub-directories?

1267


Which unix command lists files/folders in alphabetical order?

1765


What command is used to switching between users in unix?

1084


Why is awk called awk?

1082


What is pipe command in unix?

1307


What does 'mkdir' command do in UNIX?

1315


Can you enlist some commonly used network commands?

1121