Is there a command that allows searching a keyword in files under a directory with specific extension ?
The string grep -irn "string" ./path
gives a recursive search for all files under the directory./path
. My specific requirement is to search in all files under ./path
with an extension such as *.h