Search strings in PHP code


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments


You need to login to view comments.