We help IT Professionals succeed at work.

find daemon

bali031997
bali031997 asked
on
Medium Priority
250 Views
Last Modified: 2013-12-15
is there such a thing as a find daemon, that would keep track of the filesystem and thus make find / ... searches much faster ?
Comment
Watch Question

Commented:
There is a program called locate. If you have a Slackware installation, it should be already installed (most likely on other distributions too).
It consists of a program `locate', that searches a database. On regular intervals (normally once a day), you have to run `updatedb' to refresh the database. I do this from the crontab.
Using locate is a lot faster than find, but it's not as flexible. Also, the database might be out of date.
To find out if you have locate, try `locate locate'.
If you don't have it, it's in the GNU findutils. (ftp to prep.ai.mit.edu or its mirrors)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.