2018年4月16日

Ubuntu的which、whereis、locate和find命令

摘要: Ubuntu的which、whereis、locate和find命令 which 只能寻找可执行文件 ,并在PATH变量里面寻找。whereis 从linux文件数据库(/var/lib/slocate/slocate.db)寻找,所以有可能找到刚刚删除,或者没有发现新建的文件。全部匹配locate 阅读全文

posted @ 2018-04-16 09:28 Shihu 阅读(6441) 评论(0) 推荐(0) 编辑

导航