BrandTroels Selch
  • Archive
  • Categories
  • Tags
  • About

Search recursive in files from terminal

March 6th, 2014

grep -r "word or phrase" ./

To show only filenames add -l flag:

grep -lr "word or phrase" ./

Categories

Code Snippet

Tags

terminal linux grep search
Screenshot via terminal command Cool infographic with Drupal data

©2024Troels Selch - A blog with sofware development stuff