Use grep command recursively to find text including all subdirectories
Use the grep command recursively to go through all sub-directories under Linux / Unix / BSD / Apple OS X operating systems.
Example: Sysadmin because even developers need heroes!!!
grep -r 'word' /path/to/dir
Share this tutorial on:
Examples and usage: HowTo: Use Grep Command In Unix / Linux To Search Subdirectories