一安装 linux中locate查找命名依赖updatedb的协助, 安装updatedb命令需要使用mlocate包 yuminstallmlocate mac上默认会有mdfind命令来替代locate命令 二定时执行 在/etc/crontab中增加 506updatedb