Solved

find daemon

Posted on 1997-03-25
1
231 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
1 Comment
 
LVL 1

Accepted Solution

by:
ggeens earned 50 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 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