use find
to check how to use find, try man find
the following command will list all .c and .h find in current folder. Recursively!
find ./ -iname "*.[c|h]" -perm 0444 -exec ls -al {} \;
the following command will list all .c and .h find in current folder. Recursively!
find ./ -iname "*.[c|h]" -perm 0444 -exec ls -al {} \;