這篇文章主要介紹使用linux的whatis命令查詢命令執(zhí)行功能,文中介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們一定要看完!
成都創(chuàng)新互聯(lián)公司網(wǎng)站建設(shè)公司是一家服務(wù)多年做網(wǎng)站建設(shè)策劃設(shè)計制作的公司,為廣大用戶提供了網(wǎng)站設(shè)計制作、成都做網(wǎng)站,成都網(wǎng)站設(shè)計,廣告投放平臺,成都做網(wǎng)站選成都創(chuàng)新互聯(lián)公司,貼合企業(yè)需求,高性價比,滿足客戶不同層次的需求一站式服務(wù)歡迎致電。
whatis命令是用于查詢一個命令執(zhí)行什么功能,并將查詢結(jié)果打印到終端上。
whatis命令在用catman -w命令創(chuàng)建的數(shù)據(jù)庫中查找command參數(shù)指定的命令、系統(tǒng)調(diào)用、庫函數(shù)或特殊文件名。whatis命令顯示手冊部分的頁眉行。然后可以發(fā)出man命令以獲取附加的信息。whatis命令等同于使用man -f命令。
語法格式:whatis [參數(shù)]
常用參數(shù):
其他命令 | 顯示該命令的執(zhí)行功能 |
參考實例
ls命令執(zhí)行情況:
[root@linuxcool ~]# whatis ls ls (1) - list directory contents ls (1p) - list directory contents
cp命令執(zhí)行情況:
[root@linuxcool ~]# whatis cp cp (1) - copy files and directories cp (1p) - copy files
chown命令執(zhí)行情況:
[root@linuxcool ~]# 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
man命令執(zhí)行情況:
[root@linuxcool ~]# 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命令查詢命令執(zhí)行功能的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對大家有幫助,更多相關(guān)知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!
新聞名稱:使用linux的whatis命令查詢命令執(zhí)行功能
文章出自:http://jinyejixie.com/article26/gdjicg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供自適應(yīng)網(wǎng)站、網(wǎng)站改版、外貿(mào)網(wǎng)站建設(shè)、網(wǎng)站營銷、網(wǎng)站建設(shè)、網(wǎng)站內(nèi)鏈
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)