特点:效率高 检索速度优于find
1.确认安装mlocate包
apt-get install mlocate 或 yum install mlocate
2.更新数据库
updatedb &
搜索
locate *.conf
机制:文件名数据库检索