To search for text through the entire filesystem from the current path down in Linux use the following : find / -type f -print0 | xargs -0 grep -l "string to search" 2>/dev/null
Search entire filesystem for text in Linux
Posted on
To search for text through the entire filesystem from the current path down in Linux use the following : find / -type f -print0 | xargs -0 grep -l "string to search" 2>/dev/null