语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -4,9 +4,9 @@
<p><strong>apropos命令</strong> 在一些特定的包含系统命令的简短描述的数据库文件里查找关键字,然后把结果送到标准输出。 </p>
<p>如果你不知道完成某个特定任务所需要命令的名称可以使用一个关键字通过Linux apropos实用程序来搜索它。该实用程序可以搜索关键字并且显示所有包含匹配项的man页面的简短描述。另外使用man实用程序和-k关键字选项可以得到和用Linux apropos实用程序相同的结果实际上是相同的命令</p>
<h3 id="语法">语法</h3>
<pre><code>apropos [-dalhvV] -e|-[w|-r] [-s section] [-m system[,...]] [-M path] [-L locale] -C [file] keyword ...</code></pre>
<pre><code class="language-bash">apropos [-dalhvV] -e|-[w|-r] [-s section] [-m system[,...]] [-M path] [-L locale] -C [file] keyword ...</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-d, --debug输出调试信息。
<pre><code class="language-bash">-d, --debug输出调试信息。
-v, --verbose输出详细的警告信息。
-r, -- regex将每个keyword作为正则表达式解释。这是默认行为。每个keyword将匹配手册页和描述。
-w, --wildcard将每个keyword作为shell样式的通配符解释。
@@ -23,7 +23,7 @@
<h3 id="返回值">返回值</h3>
<p>返回0表示成功1表示用法、语法或配置文件错误2表示操作错误16表示没有找到匹配的内容。</p>
<h3 id="实例">实例</h3>
<pre><code>[root@localhost ~]# man -k who
<pre><code class="language-bash">[root@localhost ~]# man -k who
at.allow [at] (5) - determine who can submit jobs via at or batch
at.deny [at] (5) - determine who can submit jobs via at or batch
jwhois (1) - client for the whois service
@@ -45,5 +45,5 @@ who (1p) - display who is on the system
who (1) - show who is logged on
whoami (1) - print effective userid</code></pre>
<p>查找手册页名字和描述中包含emacs和vi的手册页</p>
<pre><code>apropos -a emacs vi</code></pre>
<pre><code class="language-bash">apropos -a emacs vi</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->