how to search string in subdirectory in unix code example
Example 1: how to search string in subdirectory in unix
grep -rl "string" /path
Example 2: how to search string in subdirectory in unix
grep -Hrn 'search term' path/to/files
grep -rl "string" /path
grep -Hrn 'search term' path/to/files