unix系統中man出現“nothing appropriate”

來源:互聯網
上載者:User

標籤:man   whatis   makewhatis   nothing appropriate   

   最近在一台新部署的伺服器上用man -f查閱協助的資訊的時候遇上竟然會報“nothing appropriate”,當時以為是man沒有安裝於是就用yum安裝了下,結果發現man是有安裝過的,於是就man man去找-f的參數選項去看了下,有這一句“Equivalent to whatis.”man -f 其實就是使用whatis,於是就用whatis結果發現不能用,於是又man  whatis結果發現了這一句:

The whatis database is created using the command /usr/sbin/makewhatis.

原來man -f 就是使用whatis或者是apropos,當然這兩個指令必須要用root使用者才能使用,而使用whatis或者是apropos必須要建立whatis的資料庫才行於是運行了makewhatis後再用man -f看了下正常了

本文出自 “技術隨筆” 部落格,請務必保留此出處http://jim123.blog.51cto.com/4763600/1881553

unix系統中man出現“nothing appropriate”

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.