久久ER99热精品一区二区-久久精品99国产精品日本-久久精品免费一区二区三区-久久综合九色综合欧美狠狠

新聞中心

EEPW首頁 > 嵌入式系統 > 設計應用 > Linux命令行大全:help-顯示命令的使用信息

Linux命令行大全:help-顯示命令的使用信息

作者: 時間:2016-10-08 來源:網絡 收藏

help-顯示命令的使用信息

本文引用地址:http://cqxgywz.com/article/201610/305549.htm

很多可執行程序都支持--help選項,--help選項描述了命令支持的語法和選項。例如:

[me@linuxbox ~]$ mkdir --help

Usage: mkdir [OPTION] DIRECTORY…

Create the DIRECTORY(ies), if they do not already exist.

-Z, --context=CONTEXT (SELinux) set security context to CONTEXT

Mandatory arguments to long options are mandatory for short options too.

-m, --mode=MODE set file mode (as in chmod), not a=rwx – umask

-p, --parents no error if existing, make parent directories as

needed

-v, --verbose print a message for each created directory

--help display this help and exit

--version output version information and exit

Report bugs to

一些程序不支持--help選項,但是我們還是要試試。這通常會產生一條錯誤消息,該錯誤消息也能揭示相同的命令使用信息。



關鍵詞:

評論


相關推薦

技術專區

關閉