next up previous contents
Next: ldd - List dynamic Up: Other Useful Commands Previous: kill - Kill job   Contents

locate - Find file anywhere in the system

Example:-

locate myfile

List any file on the system that contains the name ``myfile''. Locate is very fast as it just looks up names in a database of names that is recreated regularly, so it may not find any very recently created file. In which case use find instead.



P.D. Gronbech (IT Staff) 2015-10-02