Find a string in files

To search a directory recursively for a string, use:

1
find . -exec grep "string to find" '{}' \; -print
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • StumbleUpon

Tags: , , , ,

 
 
 

Leave a Reply