Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

Find files

Kenn Chen
Advisor

Find files

I would like to find all files which has content of "Hello" word inside the file.
Cyber Zen
2 REPLIES
Bill McNAMARA_1
Honored Contributor

Re: Find files

find . *.txt | xargs grep Hello

You can also look at fgrep.

Later,
Bill
It works for me (tm)
federico_3
Honored Contributor

Re: Find files

find DIR -type f -exec grep -l "Hello" {} \;