Webmaster's Community

Designing and Development => Programming => Topic started by: Savera on September 30, 2011, 05:56:02 AM

Title: Finding a word using grep in group of files
Post by: Savera on September 30, 2011, 05:56:02 AM
I am wondering how using grep command I can search for particular word or string in group of files. I need to find some code in bunch of file. I know it is there but I don't know which file exactly holds it !
Title: Re: Finding a word using grep in group of files
Post by: Jaffery on October 03, 2011, 09:38:10 AM
grep -r <your word> should search all files in current directory for given word.