locate

locate是最早出现于1983年的Unix实用进程,[1]用于在文档系统上搜索电脑文件。它通过由updatedb或一个守护进程生成并压缩的预建数据库搜索文档。它的运行速度显着快于find,但需要对数据库进行定期更新。locate为了显着的运行速度(尤其在大型文档系统上)而牺牲了效率(即使没有用户需要时也会检索文档系统)以及结果的准确性(数据库不会实时更新)。

参考资料

  1. Usenix ;login:, Vol 8, No 1, February/March, 1983, p. 8.

外部链接

变种:

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.