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

What is difference between ssh v1 and ssh v2?

0 Answers  


Does windows 10 have unix?

0 Answers  


Difference between the fork() and vfork() system call?

0 Answers  


What is meant by u-area?

0 Answers  


What is RC (return code)? What is useful for? Which are the common values?

1 Answers   Accenture,


What is the role of the kernel in unix?

0 Answers  


What is a parent directory in unix?

0 Answers  


What is unix file?

0 Answers  


Explain what are links and symbolic links in unix file system?

0 Answers  


What is unix pattern?

0 Answers  


Which language is used in unix?

0 Answers  


How many root directories exist in unix?

0 Answers  


Categories