linux(Centos)安装locate工作包

  1. 安装mlocate服务

    [root@manage-host test]# yum install mlocate
  2. 执行updatedb命令

    [root@manage-host test]# updatedb
  3. 然后,在linux里使用和find一样的功能

    例如 find -name xx   

  4. locate  xxx

发布了161 篇原创文章 · 获赞 69 · 访问量 25万+

猜你喜欢

转载自blog.csdn.net/baidu_38432732/article/details/103182939