Like in the title, and also I want to print the number of the line in each (text) file where the substring occurs.
So far I have:
find /sys | grep "filesystem"
But it appears to only look at the names and directories of files, and not their content.
And how to search for several strings simultaneously? Because I think I should search additionally for
"*filesystem*" to include all possible occurances of the string.
Thank you in advance.