@ghostdog74
Thanks for that piece of beautiful code.
I just modified it to save the path of the file with the content of the line und the load is more than okay. The maximum I have seen while testing is 70% of one CPU and the load is just around 1.5 .
I always thought that bash is the only thing that could work with low resources on my server.
Just one question left, the code you posted searches all
public_html folders within the
home directory, is there a limit of how many sub directories are scanned, or is it following the hierarchy until the end?