123

文件查找-A__lei-51CTO博客

 6 years ago
source link: http://blog.51cto.com/12105235/2065713
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
文件查找工具有这两种:1、locate:非实时查找(数据库查找)2、find:实时查找。1、locate:非实时查找(数据库查找)工作特点:•查找速度快•模糊查找•非实时查找•搜索的是文件的全路径,不仅仅是文件名•可能只搜索用户具备读取和执行权限的目录数据文件位置:/var/lib/mlocate/mlocate.db更新数据文件方法:updatadb索引构建过程需要遍历整个根文件系统,极消耗资源

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK