linux下查找一般文件方法vi /etc/updatedb.conf修改以下内容DAILY_UPDATE=yes然后在shell下运行updatedb最后查找所需文件例如 locate pub(查找含有pub的文件)