Use grep to search for some particular text inside files and folders recursively.
$ grep -rnw '/path' -e 'search term' # Backticks to use pwd /src as the search target $ grep -rnw `pwd`/src -e 'search term'
- -r is recursive,
- -n is line number
- -w is to match the whole word
Note: the path is not relative to your current directory, so you may wish to use ‘pwd’ to display your current directory path and copy paste this in as the path.