Posted By

pabloroman on 07/01/09


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Search strings in PHP code

 / Published in: Bash

  1. find . -name "*.php" -exec grep "string to search for" {} \; -exec echo -e {} \;
  2. #better version!
  3. grep -R -n --color=auto --exclude "*svn-base" "string to search for" *

Report this snippet  


RSS Icon Subscribe to comments
Posted By: pabloroman on September 8, 2009

grep -r 'cadena a busca' directorio

You need to login to post a comment.