Locate Snippets
# Update Locate index databasesudo updatedb
# Use a specific database called db_file for indexing the source_directoryupdatedb -l 0 -o db_file -U source_directory
# Locate using a specific databaselocate -d db_file MyQuery
# Update Locate index databasesudo updatedb
# Use a specific database called db_file for indexing the source_directoryupdatedb -l 0 -o db_file -U source_directory
# Locate using a specific databaselocate -d db_file MyQuery