updatedb

am taking a college course - novell’s suse linux enterprise server 9 ( CompTIA’s Linux+…
one of the exercises asks to cmd “locate database” by entering updatedb --suposedly a utility that searches for files…terminal responds with ‘no command’-- have searched many man and info pages–cannot find any information on this…help?.. ththanks

You need to install findutils-locate… updatedb is ran as root on console, JFYI :wink:

Just to clarify, when you install it, you only need to run updatedb as root if you want to find a recently created file; openSUSE automatically updates the file/folder database every 24 hours. So I normally just run ‘locate <string>’ as a user whenever I want to find anything.