6 examples for locate

{{ score }}
  # search the filesystem for a file containing wat in the filename
locate filename
{{ score }}
  # search for 'brofile' in specific database
locate brofile -d /path/to/database
{{ score }}
  # use locate to search for directories. Files with exactly the same name as the directory will also displayed.
locate -r '/directoryname$'
{{ score }}
  # where are those crazy java files kept?
locate libjvm.so
{{ score }}
  # update database for 'locate' (requires root!)

# update specific direction into new database
updatedb -o /path/to/database -U /direction/to/scan/through
{{ score }}
  # Busqueda mas precisa que termine o su nombre sea completamente la cadena de busqueda 
locate -b "\crontab"