Menu

Install mlocate (locate and updatedb Commands)
mlocate is a merging locate and database package. "Merging" means updatedb reuses the existing database to avoid re-reading most of the file system. This makes the database update faster and does not tax the system caches. 

mlocate can index several file systems including network file systems for network shares. This package is essential when attempting to quickly find documents in a terminal.
Install mlocate

As a matter of best practice we'll update our packages:
yum -y update
Then let's install mlocate and any required packages:
yum -y install mlocate
Updating mlocate
The following command will update the search databases:
updatedb
mlocate installs a cron job that will run daily to update search databases at:


/etc/cron.daily/mlocate.cron

www.hackthesec.co.in

About Author:


I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Next
Newer Post
Previous
Older Post

0 comments:

Post a Comment

 
Top