Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
when searching filename or dirname case-insensetively, we can use option -iname.
but if I want to ignore case in -path option, what should I do?
can I do it with only find command, without using grep?
find -path './[Pp][Aa][Tt][Hh]'
If you're using GNU find then there's the -ipath option
If locate is available on your system you can also use locate -i
Required, but never shown