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)

Answer Posted / akshay chavan

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

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does unix pipe work?

918


Explain what are the unix system calls for i/o?

890


How do I find a pattern in unix?

909


Does windows use unix?

885


What does cp mean in unix?

821


How do you determine and set the path in unix?

969


How to list directories in unix?

955


What is the role of the kernel in unix?

981


What are drawbacks of ssh v2?

946


Explain file system in unix.

929


What are the devices represented in unix?

905


What are the phases of swapping a page from the memory?

910


Where is unix used today?

862


How does unix operating system works?

923


What is a regular file in unix?

950