I use the following find command to search and display all files that have an input text template.
to find. -type f -print | xargs grep -n "pattern"
I have many project folders, each of which has its own makefile called "Makefile". (without file extension, just βMakefileβ)
How to use the command above to search for a specific template only in files with the name Makefile, which are present in all folders of my project?
-AD.
source share