1. 程式人生 > >(四)Linux學習筆記-Linux常用命令-幫助文件

(四)Linux學習筆記-Linux常用命令-幫助文件

(四)Linux學習筆記-Linux常用命令-幫助文件

以下為Red Hat系列Linux的命令集,我使用的Centos7.5版本。

幫助文件

- -help(shell內部的命令幫助)

#--help命令,比較常用,大部分的命令中都有該選項

ls --help   //顯示ls的幫助資訊

man(系統手冊中的命令幫助)

#man命令
man ls    //顯示ls在系統手冊中的幫助資訊
-k        //根據關鍵字搜尋聯機幫助,模糊搜尋

info(超級詳細的命令幫助)

#info命令
info ls    // 顯示ls在超級詳細的幫助資訊

whatis(簡短的命令說明)

#whatis命令
whatis ls    // 顯示ls是幹什麼用的

//如果使用whatis時報錯,可能是database沒有建立,可以使用如下命令
makewhatis

apropos(聯機模糊搜尋)

#apropos命令,相當於man -k

Linux技術交流QQ群:789383813(新增時請備註Linux)