-
安装mlocate服务
[root@manage-host test]# yum install mlocate
-
执行updatedb命令
[root@manage-host test]# updatedb
-
然后,在linux里使用和find一样的功能
例如 find -name xx
-
locate xxx
linux(Centos)安装locate工作包
猜你喜欢
转载自blog.csdn.net/baidu_38432732/article/details/103182939
今日推荐
周排行