Search for content in files in linux (recursively and case-independent)


You would like to find the files that contain some specific text, and would like to do it recursively (ie in a project folder), using something simpler than the find command.


You can use the following in your current top folder to search recursively, case-independent and by displaying the file number that the searched text appears, with the following:

grep -rin "TextToBeSearched" .