Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Often as a last resort, you can use the find command. It is a little bit more cryptic than whereis or locate. Below is an example...
find / -name ProgName -print
This would search from the root directory recursively for a file or directory with the name ProgName and print it out to the screen. you can also use the wild card * but you must and a preceding \ as such..
find /usr -name Prog\* -print
At least this has been my finding. As a last resort su to root and use the first command to search your entire system for a program.
Hope this helps. It may be worth looking at the man pages for find.
updatedb (when called normally) should be including your win files. Check your updatedb command (and any aliases) to see if it's excluding specific filesystems, something like this would exclude vfat (AFAIK):
updatdb -f vfat
I think that excludes vfat from being included. So if your updatedb is being called with that, then you simply need to call it regularly.
Thanks for the reply MasterC. I ran man updatedb and -f option does exclude other fs types. This flag is default, -u. Locate aliase
gave 200+ entries. I ran cat on /etc/aliases,bashrc,and profile but
didn't see much that I understood,(not yet anyway). It's a minor
thing since I have to cd to windows any way to access files. Is there a command to run to see what options updatedb is using?
Thanks Tinkster. I opened up updatedb.conf with vim,edited out
/mnt from PRUNEPATHS,and vfat from PRUNEFS. Now locate works
like a charm on my fat32 partition. I have a lot to learn but the
journey will be much easier with people like you, MasterC, and
others in this forum who have been kind enough to help.