Hello I want to find all files in a directory ending with .h and I must use find command,I tried like this :
find ~+ -name '\.h$'
strangely i have .h files but the command when executed doesn't produce output,so probably there is something wrong with the regex?
find ~+ -regex ".*\.h"