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 move files from one directory to other in unix?
Is learning unix useful?
What is pipe in unix example?
What are the types of unix?
Describe file systems in unix?
What is regular file in unix?
What is unix buffer cache?
What is the use of -l when listing a directory?
Suppose I have one column with data smithjohnmichale the o/p should be smith,john, michale how we do in unix?
what is the functionality of kernel in unix architecture?
What is unix and why is it important?
What is unix shell scripting used for?