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
Describe the responsibilities of shell in brief.
What is unix and why is it important?
What are the links and symbolic links in a unix file system?
How to print/display the first line of a file in Unix?
Discuss briefly about the directory representation in unix.
Why is unix better than windows?
How do I get to my home directory in unix?
Which mode executes the fault handler?
How to perform a system shutdown in unix?
What are the common directory management commands in unix?
What is umask in unix?
What is meant by the term super user?
What are the basic responsibilities of a shell?
How to find out what processes are running in the background in unix?
How to get the n-th field from a Unix command output?