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

ls |wc-l |tee 1.txt
step 1: listing of file and folders
step 2: counting No of Lines
step 3: tee command getting output from above steps and
stres in the file

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the unix commands?

1042


What is the size of time_t?

1164


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

1170


Explain command to display different lines that are found when compare two files?

1119


Does cp command overwrite files?

1144


What do chmod command do?

1151


What is the command to find maximum memory taking process on the server?

1166


How do you grep a case insensitive?

1004


What is grep and how do you use it?

1066


How do I delete files from command prompt?

1165


How do I open a port?

1046


What does pipe () return?

1035


What is s and g in sed command?

1066


How to display no of records in oracle using unix command?

1125


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1348