Linux Daily Tip – Recursive Grep
April 27th, 2010
No comments
At times it becomes annoying trying to find a string within a file fast and effectively. Grep can handle this task for us!
To search all files and sub-directories recursively for a phrase:
grep -r -i string_your_looking_for /
Categories: Linux Systems file, file contents search, grep, locating, location, recursive, search, string search