Command not found on updatedb on Mac OSX Lion
If you’re running Mac OSX Lion and trying to update your locate db, you may get the following error message.
-bash: updatedb: command not found
You can call updatedb by using its full path instead.
/usr/libexec/locate.updatedb
You could also create a symlink in your bin directory which would then allow you to just call updatedb as normal.