I have text I want to recursively search in mydir/
. I would normally type grep -r "text to find" mydir/"
but what would I type if I wanted to search all the files except a specific one?
For example, I do not want to search the file "myfile.txt" but it is contained in the directory.
What would I type?