Use this to find all files containing specific text on Linux.
$ grep -lrnw '/var/www/html' -e 'cool text'
Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.
Use this to find all files containing specific text on Linux.
$ grep -lrnw '/var/www/html' -e 'cool text'
Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.