In Linux, I want to search for a word in all files in a directory (also in subfolders), and the search must be case sensitive. The search must give me all file names, directory names, and line numbers containing this word.
Will the following do the search as I want? Could you please explain the flags and arguments here?
find . -type f | xargs grep -in WORD
find
too, but it has a different syntax and will not work that way. There is a find in the unxtools (or unxutils?), which is a pure win32 application, not something you need cygwin for, but since the windows-find is in the path, it will not work either by simply installing the unixtools. Why was this question migrated here? U&L would have been the better target.