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

What does cd mean in unix?

901


What is the full form of unix operating system?

977


Differentiate relative path from an absolute path?

896


What does a pipe(|) do?

895


What is the chief difference between the –v and –x option s to set?

964


Explain a path in unix.

930


What is .sh file in unix?

981


Is unix free?

906


Is unix a kernel?

904


Is unix an operating system?

877


Discuss the mount and unmount system calls ?

1047


Is unix written in c?

779


Is used to create ordinary files on any unix system?

943


How do I get to my home directory in unix?

939


What do you understand by the term single user system?

934