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 |
What is the use of unix?
Describe a link in unix.
Is a form of interprocess communication in unix?
Is mac terminal unix?
What are the file permissions and access modes in unix?
Why unix terminals are called dummy terminals?
How do you delete a file in unix?
How to display the contents of a file?
Explain a path in unix.
What is grep|sort give example?
What is the core of unix operating system?
Why was unix invented?