How to search for text inside files in Linux
Posted Mon, 01/25/2010 - 1:57pm
To search for a text pattern in files in linux, do the following:
find / -type f -print0 | xargs -0 grep -i 'your pattern'
Posted Mon, 01/25/2010 - 1:57pm
To search for a text pattern in files in linux, do the following:
find / -type f -print0 | xargs -0 grep -i 'your pattern'
Post new comment