help命令--Linux命令应用大词典729个命令解读

内容来源于人民邮电出版社《Linux命令应用大词典》

讲述729个命令,1935个例子

学习Linux系统的参考书、案头书,遇到不懂的命令或命令选项一查即可

争取每天都发布内容


本文出自 “airfish2000” 博客,更多命令查看博客:

http://airfish2000.blog.51cto.com/10829608/1871365


help命令

使用help命令可以查看内部Shell命令的帮助信息。

命令语法:

help [选项] [命令]

选项含义:

命令中各选项的含义如表所示。

                                  help命令选项含义

选项

含义

-d

显示命令简短的主题描述

-s

显示命令简短的语法描述

 

      :查看pwd命令详细的帮助信息。

[root@rhel ~]# help pwd

pwd: pwd [-LP]

    Print the nameof the current working directory.

 

    Options:

      -L        print the value of $PWD if it names thecurrent working

        directory

      -P        print the physical directory, withoutany symbolic links

 

    By default,`pwd' behaves as if `-L' were specified.

 

    Exit Status:

    Returns 0unless an invalid option is given or the current directory

cannot be read.

:查看pwd命令简短的语法描述。

[root@rhel~]# help -s pwd

pwd:pwd [-LP]

:查看pwd命令简短的主题描述。

[root@rhel~]# help -d pwd

pwd- Print the name of the current working directory.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值