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