溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Linux的whatis命令怎么用

發布時間:2022-01-21 16:33:39 來源:億速云 閱讀:172 作者:iii 欄目:開發技術

本篇內容介紹了“Linux的whatis命令怎么用”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!

Linux的whatis命令怎么用

Linux常用命令whatis命令 是用于查詢一個命令執行什么功能,并將查詢結果打印到終端上。

whatis

查詢一個命令執行什么功能

補充說明

whatis命令在用catman -w命令創建的數據庫中查找command參數指定的命令、系統調用、庫函數或特殊文件名。whatis命令顯示手冊部分的頁眉行。然后可以發出man命令以獲取附加的信息。whatis命令等同于使用man -f命令。

語法

 whatis

實例

 [root@localhost ~]# whatis ls
 ls                   (1)  - list directory contents
 ls                   (1p)  - list directory contents
 
 [root@localhost ~]# whatis cp
 cp                   (1)  - copy files and directories
 cp                   (1p)  - copy files
 
 [root@localhost ~]# whatis chown
 chown                (1)  - change file owner and group
 chown                (1p)  - change the file ownership
 chown                (2)  - change ownership of a file
 chown                (3p)  - change owner and group of a file
 
 [root@localhost ~]# whatis man
 man                  (1)  - format and display the on-line manual pages
 man                  (1p)  - display system documentation
 man                  (7)  - macros to format man pages
 man                 (rpm) - A set of documentation tools: man, apropos and whatis.
 man-pages           (rpm) - Man (manual) pages from the Linux Documentation Project.
 man.config [man]     (5)  - configuration data for man

“Linux的whatis命令怎么用”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女