Good morning everyone!
Using the find command, How do I include 2 types of files? Like .txt and .htx ?
I am trying to locate the word test inside .txt and .htx files only.
My attempts below did not work!
Thanks
Code:
find -iname "*.txt" "*.htx" -exec grep -l "test" {} \;
find -iname "*.txt *.htx" -exec grep -l "test" {} \;