help显示命令的使用信息
很多可执行程序都支持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 <bugcoreutils@gnuorg>
一些程序不支持help选项但是我们还是要试试这通常会产生一条错误消息该错误消息也能揭示相同的命令使用信息
返回目录Linux命令行大全
编辑推荐
完全掌握Flash CS白金手册
HTML 与CSS 权威指南
Wireshark软件视频教程
Flash入门培训视频教程
忍耐力较诸脑力,尤胜一筹。