Search Filesystem for String in a File

9:02 pm Uncategorized

To scan a linux filesystem and find all files containing a specific string.

find / -type f -print0 | xargs -0 grep -i STRING

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.