想拥有海绵宝宝的微笑

导航

linux - whatis 提示 ls: nothing appropriate

linux 执行命令 whatis 时,提示: ls: nothing appropriate

原因:whatis是在数据库中执行查找操作,这个数据库是定期更新的,

  新安装的系统,系统没有更新,没有这个数据库,whatis无法进行查询

解决方法:使用命令:makewhatis进行手动更新,再次执行whatis ls,成功!

posted on 2017-09-01 11:30  想拥有海绵宝宝的微笑  阅读(723)  评论(0编辑  收藏  举报