This commit is contained in:
fofolee
2019-04-08 23:22:26 +08:00
commit 7ca94f1141
5960 changed files with 530244 additions and 0 deletions

23
docs/linux/help.html Normal file
View File

@@ -0,0 +1,23 @@
<h1 id="help">help</h1>
<p>显示帮助信息</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>help命令</strong> 用于显示shell内部命令的帮助信息。help命令只能显示shell内部的命令帮助信息。而对于外部命令的帮助信息只能使用man或者info命令查看。</p>
<h3 id="语法">语法</h3>
<pre><code>help(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-s输出短格式的帮助信息。仅包括命令格式。</code></pre>
<h3 id="参数">参数</h3>
<p>内部命令指定需要显示帮助信息的shell内部命令。</p>
<h3 id="实例">实例</h3>
<p>使用help命令显示shell内部shopt命令的帮助信息输入如下命令</p>
<pre><code>help shopt #获取shopt命令的帮助信息
shopt: shopt [-pqsu] [-o long-option] optname [optname...]
Toggle the values of variables controlling optional behavior.
The -s flag means to enable (set) each OPTNAME; the -u flag
unsets each OPTNAME. The -q flag suppresses output; the exit
status indicates whether each OPTNAME is set or unset. The -o
option restricts the OPTNAMEs to those defined for use with
`set -o&#39;. With no options, or with the -p option, a list of all
settable options is displayed, with an indication of whether or
not each is set.</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->