I tried using the -s option, but to no avail. Only the errors are printed, I don't get the matching lines. Grep 'string' * gives me the errors: grep: data: Is a directory Next, I tried running grep on multiple files. Is supposed to be able to do this, I've read, but it gives me the error:
I want to search for a string of text in all files in a directory (and not its subdirectories I know the -r option does that, but that is not what I want).