In Linux, How do we list files, present within under a particular directory, which contains a particular word?For eg. you have 10 files under /tmp a1 to a10 in which 5 files contains a particular word say "catch" how do we list these files?

Questions by dharmeshg

Showing Answers 1 - 3 of 3 Answers

Gautham.K

  • Sep 28th, 2007
 

cmd :- ls | grep catch

Try this command.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions