This snippet shows how to search a text form files. We use grep command for it and display directories of files when results form files are found.
Source code viewer
grep -i -R -l 'string to search from files' /location/from/where/you/wish/to/search/*Programming Language: Bash