I run this command
find -iname *something*
It normally searches in subfolders but if I have a file that matches the criteria in the working directory it only reports it and stops. I'm thinking to write a function that first searches sub folders in current directory than issue many find commands for each of them but I feel there should be an easier way... Actually I think it should be the default behavior, so maybe I have something wrong in some setup file?
alias find
anddeclare -f find
output would clarify the situationfind . -iname something
?