# Search all files in directory «dir» matching file name «name» for string «str» # «name» can use any standard unix shell wildcard characters find «dir» -type f -name '«name»' -exec grep -H '«str»' {} \;