顯示指令的功能(whatis 指令)

whatis 指令會在您使用 catman -w 指令所建立的資料庫中,查看由 Command 參數指定的給定指令、系統呼叫、程式庫函數或特殊檔名。

如需 catman -w 指令的相關資訊,請參閱 catman -wwhatis 指令顯示手冊區段的標頭行。然後,您可以發出 man 指令,以取得相關資訊。如需 man 指令的相關資訊,請參閱 man

whatis 指令相當於使用 man -f 指令。

若要瞭解 ls 指令的功能,請鍵入:

whatis ls 
系統會顯示如下的資訊:
ls(1)  - 顯示目錄的內容。

請參閱 Commands Reference, Volume 6 中的 whatis 指令,以取得完整語法。