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:
The following command will update the search databases:
/etc/cron.daily/mlocate.cron
www.hackthesec.co.in
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 mlocateThe 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
0 comments:
Post a Comment