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

Describe the responsibilities of shell in brief.

831


What is unix and why is it important?

896


What are the links and symbolic links in a unix file system?

865


How to print/display the first line of a file in Unix?

957


Discuss briefly about the directory representation in unix.

965


Why is unix better than windows?

879


How do I get to my home directory in unix?

893


Which mode executes the fault handler?

996


How to perform a system shutdown in unix?

908


What are the common directory management commands in unix?

1030


What is umask in unix?

865


What is meant by the term super user?

831


What are the basic responsibilities of a shell?

1637


How to find out what processes are running in the background in unix?

904


How to get the n-th field from a Unix command output?

924