Author Topic: Finding a word using grep in group of files  (Read 29812 times)

Savera

  • Full Member
  • ***
  • Posts: 159
Finding a word using grep in group of files
« 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 !

Jaffery

  • Administrator
  • Full Member
  • *****
  • Posts: 158
Re: Finding a word using grep in group of files
« Reply #1 on: October 03, 2011, 09:38:10 AM »
grep -r <your word> should search all files in current directory for given word.

 

X

Do you know?

IfandBut.com is place where you can meet serious webmasters and make new ties to grow your business.
Join Now!
anything

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.
Back