linux recursive grep for string in file code example Example: grep all files recursively grep -r "texthere" .