Linux File Search Tools: Locate vs Find

Linux File Search Tools: Locate vs Find

1. Locate 1. Performance Overview Queries the pre-built file index database on the system /var/lib/mlocate/mlocate.db Note: If this file is deleted, locate will not work. You need to manually update the database (updatedb) or restart the system for locate to function again. Relies on a pre-built index: The index is constructed automatically during idle times … Read more