linux find pattern in all files recursively code example Example: linux search for a given string in all files recursively $ grep -r "String to be searched goes here" *