search for word in all files in directory code example Example: grep in folder grep -nr 'yourString*' .