当前位置首页 > CentOS知识

centoslocate搜索工具

阅读次数:36 次  来源:admin  发布时间:

locate搜索工具

[root@localhost ~]# yum install mlocate
[root@localhost ~]# locate passwd
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
[root@localhost ~]# updatedb
[root@localhost ~]# locate passwd
/etc/passwd
/etc/passwd-
/etc/pam.d/passwd
/etc/security/opasswd
上一篇:RedHat/FedoraLinux上使用yum安装pythonpip模块
下一篇:放弃Ubuntu拥抱Fedora-absolute