If I'm in the root directory, can I use find to search all the directories below it for a file?
I tried find stdio.h but it didn't find anything. However I know that that file is in the filesystem somewhere. How do I find it?
|
If I'm in the root directory, can I use find to search all the directories below it for a file? I tried find stdio.h but it didn't find anything. However I know that that file is in the filesystem somewhere. How do I find it?
| ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
It's in
Don't forget to run To look in the current directory and its children:
To look everywhere beneath the root directory:
You tagged this as a Cygwin question, so to search the entire C drive, you could run
but that's likely to be much slower than searching from an Explorer window. | |||
|
feedback
|