File indexing

Instead of searching a file in a filesystem with the find command, speed can be improved by looking into a database (as /var/lib/mlocate/mlocate.db when using the mlocate package) using the locate command. The drawback is that the file and the database might differ and an update needs to be done regularly by the command updatedb or a cron job doing it..

Linurs Servernest startpage