Linux命令使用与I/O重定向全解析
1. 命令帮助与文档查询
1.1 –help选项
许多可执行程序支持 --help 选项,用于显示命令的支持语法和选项描述。例如,使用 mkdir --help 可以查看 mkdir 命令的使用说明:
[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 o
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



