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!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That doesn't produce anything useful when I try it.
I think the first thing to note is that "same name but in different case" is actually something of an oxymoron. If the case is different, they do not have the same name. E.g. hello and HeLLO are two different names.
The output of the find command tells me that there is more than one file with a name that is a variant of hello. But it doesn't tell me that the other files are call. I can find them with another find command though
locate, of course! I should have thought of that. It's not installed by default by all distributions. On SUSE distros it's in the package findutils-locate.
Quote:
Originally Posted by fruttenboel
Code:
locate gobbledigook
You need to use the -i option to get a case insensitive search.
Code:
locate -i gobbledigook
Quote:
Originally Posted by fruttenboel
updatedb runs as a cron job and executes every day at 10 PM.
It might run at 10PM on your machine, that doesn't mean it runs at 10PM on all Linux machines. It probably will be run at least once a day, but when it runs will vary depending on the Linux distribution being used.
You need to use the -i option to get a case insensitive search.
Code:
locate -i gobbledigook
Hey thanks for that. I'm using locate so long now that I never came to reading the man pages...
Quote:
It might run at 10PM on your machine, that doesn't mean it runs at 10PM on all Linux machines. It probably will be run at least once a day, but when it runs will vary depending on the Linux distribution being used.
True. I was not completely clear there. On my slackware systems it is installed by default. I put it in crontab to run at 10 PM, that being a time the machine will be running in the majority of times.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.