I am looking for all the header files (*.h).. which as per documentation of the UNIX system shouldbe there.
I am using
find / -name *.h -print
But it does't give anything.
My question is under what condition the "find" condition will fail to find the file?
What is the work around.
How I can be 100% sure that the header files are really not present.
Pl reply.....
RTM
July 1, 2004, 7:38am
2
Use quotes around your *.h
find / -name "*.h"
To insure find is working, just create an empty file with .h as the extension.
Thanks for the input.
But
I want the answer of the question that
Under what condition "find" will not be able to find a file .
Actually i am having a feeling that in my system the header files are somehow made invivisible.
I have tried out the ls -a option obviously.but >>>>><<<<<
But it must be something beyond that.
Is it possible see files if they are not mounted?
How????????/
If the .h files are there, "find" should be able to see them. No you can't see files that aren't mounted.
You should have some .h files in /usr/include...are they there?
find cab take a long time to run....you aren't killing it early are you?
find / -print
will find and print every filename. This is overkill, but it's one thing to try.
This might be a silly question, are you running the
find / -name "*.h" -print
as root. If you are running it as a user with no privs, you might not be able to see everything.