I just downloaded some source code from a repository and I'm trying to locate a specific file in it. For simplicity, assume that the entire project has the following directory hierarchy
project / \ src docs / \ \ other test2.h test1.h
I navigate to the project directory and then use the following command
sudo find . -name test1.h
This works perfectly.
However, the following command doesn't work:
sudo find . -name test2.h
The find command is able to locate test1.h but not test2.h. Why could this be? Is it possible for one of the folders to be non-searchable?
Note, I'm doing all of this on a linux machine