Fine Tuning File Searches

A common helpful tool when searching for files on Linux systems is the slocate and mlocate utilities.

Without configuration the tools return unwanted and unnecessary results. Tuning those results is straightforward by editing /etc/updatedb.conf. Excluding directories and files is accomplished using the following parameters:

  • PRUNEFS
  • PRUNENAMES
  • PRUNEPATHS
  • PRUNE_BIND_MOUNTS

Posted: Category: Usability Tagged: General

Next: Auto Suspend

Previous: Memory Muscle