linux里添加locate命令

Posted caizhichao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux里添加locate命令相关的知识,希望对你有一定的参考价值。

在linux里使用和find一样的功能

例如 find -name xx

可以yum install mlocate

然后 updatedb

再使用locate xx  来查找xx文件

以上是关于linux里添加locate命令的主要内容,如果未能解决你的问题,请参考以下文章

Linux上查找

Linux学习总结(十五)文件查找 which whereis locate find

Linux下搜索文件命令whereis/which/find/locate

Linux命令之locate

Linux命令之locate命令

Linux之locate命令