?
Solved

find daemon

Posted on 1997-03-25
1
Medium Priority
?
235 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 ?
0
Comment
Question by:bali031997
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
ggeens earned 100 total points
ID: 1627002
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)
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question