Solved

find daemon

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now