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