Linux命令使用与重定向全解析
1. 命令帮助信息获取
在Linux系统中,了解命令的使用方法至关重要。有多种方式可以获取命令的相关信息。
- –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 in
超级会员免费看
订阅专栏 解锁全文
853

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



