W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
查詢一個(gè)命令執(zhí)行什么功能
whatis命令 是用于查詢一個(gè)命令執(zhí)行什么功能,并將查詢結(jié)果打印到終端上。
whatis命令在用catman -w命令創(chuàng)建的數(shù)據(jù)庫中查找command參數(shù)指定的命令、系統(tǒng)調(diào)用、庫函數(shù)或特殊文件名。whatis命令顯示手冊部分的頁眉行。然后可以發(fā)出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
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: