If the database has not been built, locate command will show the following error message: locate: database too small: /var/db/locate.database From shell prompt type: $ /usr/libexec/locate.updated