Solved

find daemon

Posted on 1997-03-25
1
233 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 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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