# locate .mp3
# locate .avi
# locate .bt
I'm not sure what this has to do with DirectAdmin; I've moved it to Off-Topic Discussion.
JeffCode:# locate .mp3 # locate .avi # locate .bt
[root@server ~]# locate .mp3
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such f ile or directory
warning: You need to run the 'updatedb' command (as root) to create the database .
Please have a look at /etc/updatedb.conf to enable the daily cron job.
# locate .avi
Do the command
updatedb
then
locate .mp3