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


finding the presence of a word in a list of 'n' files
(pattern matching)

Answers were Sorted based on User's Feedback



finding the presence of a word in a list of 'n' files (pattern matching)..

Answer / nayak

grep -l "pattern" *

Is This Answer Correct ?    1 Yes 1 No

finding the presence of a word in a list of 'n' files (pattern matching)..

Answer / akshay chavan

sed -n '/matchingpattern/g' file1 file2...

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More Unix General Interview Questions

How to move files from one directory to other in unix?

0 Answers  


Is learning unix useful?

0 Answers  


What is pipe in unix example?

0 Answers  


What are the types of unix?

0 Answers  


Describe file systems in unix?

0 Answers  


What is regular file in unix?

0 Answers  


What is unix buffer cache?

0 Answers  


What is the use of -l when listing a directory?

0 Answers  


Suppose I have one column with data smithjohnmichale the o/p should be smith,john, michale how we do in unix?

0 Answers  


what is the functionality of kernel in unix architecture?

12 Answers  


What is unix and why is it important?

0 Answers  


What is unix shell scripting used for?

0 Answers  


Categories