标签:HERE 原因 org asi 缺点 cti search arc rac
有时候你想要查找一个文件 ,不可能挨个目录进去看。Linux提供了几个命令用于查找
locate
和这个一脉的好像还有slocate,rlocate,没仔细研究过有啥区别。
locate可以说是查找效率最高的一款根据,但是有个小缺点,这个小缺点也是他为啥查找效率高的原因。locate的查找方式不是根据文件inode查找文件系统,而是直接查询数据库。每天(cron.daily) locate运行程序updatedb,将所有文件信息存储到数据库。
http://www.ruanyifeng.com/blog/2009/10/5_ways_to_search_for_files_using_the_terminal.html
https://www.howtoforge.com/linux-locate-command/
https://www.computerhope.com/unix/uwhereis.htm
http://cn.linux.vbird.org/linux_basic/0320bash.php
https://www.tecmint.com/linux-locate-command-practical-examples/
https://www.cnblogs.com/xqzt/p/5426666.html
Linux命令——locate、find、whereis、which、type
标签:HERE 原因 org asi 缺点 cti search arc rac
原文地址:https://www.cnblogs.com/kelamoyujuzhen/p/10056454.html