eric:computer:bash:commands:locate.command
locate command
Locate uses a database to find files or directories. The database has to be made before use.
locate -i search-pattern
-i ignore case
Example: locate -i zenphoto
updatedb command
updatedb creates and updates the database used by this command
Example: updatedb
Put this in the crontab to regularly update this database.
eric/computer/bash/commands/locate.command.txt · Last modified: by admin
