WebHosting

Showing posts with label locate command linux. Show all posts
Showing posts with label locate command linux. Show all posts

Saturday, June 22, 2013

Keep your locate database updated in linux

We may use find command to find a file in linux but it is a bit slower than Locate, 
locate is a command that help us to find a file efficiently and a bit faster, 
it maintains a database called

"/var/lib/mlocate/mlocate.db" 

and also has a utility called "updatedb" which keeps this database updated with the 
file which

are there in the system. so when we run this command this command runs it update 
the database

and updates this database with newly file added.  This database is kept by linux system to 
keep most updated file list.

Featured Posts

How to Enable and Configure Remote Desktop (RDP) on Ubuntu 24.04.4 LTS

Remote Desktop Protocol (RDP) support in Ubuntu has become considerably easier with the GNOME Remote Desktop stack included in modern Ubuntu...