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