{"id":12094,"date":"2022-03-16T05:21:18","date_gmt":"2022-03-16T09:21:18","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=12094"},"modified":"2022-03-16T05:21:21","modified_gmt":"2022-03-16T09:21:21","slug":"how-do-i-find-all-files-containing-specific-text-on-linux","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/how-do-i-find-all-files-containing-specific-text-on-linux\/","title":{"rendered":"How do I Find all Files Containing Specific Text on Linux?"},"content":{"rendered":"\n
Use this to find all files containing specific text on Linux.<\/p>\n\n\n\n
$ grep -lrnw '\/var\/www\/html' -e 'cool text'<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,27,15,16,18],"tags":[954,121,183,193,354,433,573,591,598],"yoast_head":"\nHow do I Find all Files Containing Specific Text on Linux? [Snippet]<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n