Welcome to the Mundy IT Knowledgebase, by Daniel Mundy from Adelaide, Australia.

Mundy.net.au

IT Knowledge Base

 

Linux PDF Print E-mail
Written by Daniel Mundy   
Thursday, 16 April 2009 10:47

Useful Commands

Find Files Containing Text

grep -lir "some text" *

To find text within files these results, do like so: grep -lir "more text" `grep -lir "some text" *`

Last Updated on Tuesday, 28 April 2009 14:35