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