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

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

@@ -3,9 +3,9 @@
<h2 id="补充说明">补充说明</h2>
<p><strong>file命令</strong> 用来探测给定文件的类型。file命令对文件的检查分为文件系统、魔法幻数检查和语言检查3个过程。</p>
<h3 id="语法">语法</h3>
<pre><code>file(选项)(参数)</code></pre>
<pre><code class="language-bash">file(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-b列出辨识结果时不显示文件名称
<pre><code class="language-bash">-b列出辨识结果时不显示文件名称
-c详细显示指令执行过程便于排错或分析程序执行的情形
-f&lt;名称文件&gt;指定名称文件其内容有一个或多个文件名称时让file依序辨识这些文件格式为每列一个文件名称
-L直接显示符号连接所指向的文件类别
@@ -16,7 +16,7 @@
<p>文件要确定类型的文件列表多个文件之间使用空格分开可以使用shell通配符匹配多个文件。</p>
<h3 id="实例">实例</h3>
<p>显示文件类型</p>
<pre><code>[root@localhost ~]# file install.log
<pre><code class="language-bash">[root@localhost ~]# file install.log
install.log: UTF-8 Unicode text
[root@localhost ~]# file -b install.log &lt;== 不显示文件名称
@@ -29,7 +29,7 @@ install.log: text/plain; charset=utf-8
text/plain; charset=utf-8
</code></pre>
<p>显示符号链接的文件类型</p>
<pre><code>[root@localhost ~]# ls -l /var/mail
<pre><code class="language-bash">[root@localhost ~]# ls -l /var/mail
lrwxrwxrwx 1 root root 10 08-13 00:11 /var/mail -&gt; spool/mail
[root@localhost ~]# file /var/mail