finding the presence of a word in a list of 'n' files
(pattern matching)
Answers were Sorted based on User's Feedback
Answer / akshay chavan
sed -n '/matchingpattern/g' file1 file2...
Is This Answer Correct ? | 5 Yes | 8 No |
How to print/display the first line of a file in Unix?
Is a directory unix?
What does sort do in unix?
What does unix like mean?
How do I show only directories in unix?
What is dot profile in unix?
What uses unix?
Why is it that it is not advisable to use root as the default login?
Is a form of interprocess communication in unix?
Can you explain what does the kernel do?
What are conditions for a machine to support Demand Paging?
What is unix buffer cache?