Issue
I want to search particular text from files in all directory recursively. This is sample folder and file structure.
root_folder
|
|
|-----Folder-1
| |
| |
| |---File1.txt
| |---File2.txt
| |---Folder
| |-----file3t.txt
|
|-----Folder 2
|
|--File4.txt
|--File5.txt
want to search particular text from all files under root folder. Expected output is search string along with filename where it found.
Solution
Use this command: grep -irl "text"
Answered By - Maddy Answer Checked By - Gilberto Lyons (WPSolving Admin)