1、脚本文件名的搜寻

     例如查看ls的指令地址在哪,相当于安装地址吧

which、whereis、locate、find

2、文件档名的搜寻

   whereis只找系统中某些特定目录底下的文件,locate利用数据库搜寻文件名,两者速度都比较快。

   find会搜寻硬盘内的文件,比较耗时。

which、whereis、locate、find

which、whereis、locate、find

which、whereis、locate、find

 

相关文章: