Nov 18
The situation is as follows. You want to search recursive for a text pattern inside of each files in the directory /var/www/vhosts. Take e.g. the pattern ‘DataStructure’.
Normally you would think about the find-command and executing another command but grep itself can do the job.
grep -RHl -e ‘DataStructure’ /srv/www/vhosts
This command lists all filenames containing the text ‘DataStructure’
