finding the presence of a word in a list of 'n' files
(pattern matching)

Answer Posted / nayak

grep -l "pattern" *

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does mac use unix?

707


Is unix only for supercomputers?

654


Is used to create ordinary files on any unix system?

720


What is process termination in unix?

662


How do I remove 30 days old files in unix?

693


What is unix and its features?

773


How does unix file system work?

742


How to give execute permission for a file in unix?

700


Does unix still exist?

820


Explain how and when a DNS request is solved when a user tries to surf to the site www.abcdeg.in .Assume the user machine uses a local name server and sits on another network other than www.abcdef.in.

4696


What does the swapping system do if it identifies the illegal page for swapping?

841


What is a parent directory in unix?

697


What methodology can be utilized to modify the password in unix?

692


What is .sh file in unix?

741


What does shebang mean in unix?

689