Skip to content

Instantly share code, notes, and snippets.

@pedrorvidal
Created April 25, 2014 17:15
Show Gist options
  • Save pedrorvidal/11296756 to your computer and use it in GitHub Desktop.
Save pedrorvidal/11296756 to your computer and use it in GitHub Desktop.
Grep for recursive search inside folder
#search only inside php files. For ALL files, remove the --include option
grep -nHoR --include=*.php 'searched_string' *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment