2019-04-21 11:50:48 +08:00

22 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="zcat">zcat</h1>
<p>显示压缩包中文件的内容</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>zcat命令</strong> 用于不真正解压缩文件,就能显示压缩包中文件的内容的场合。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">zcat(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-S指定gzip格式的压缩包的后缀。当后缀不是标准压缩包后缀时使用此选项
-c将文件内容写到标注输出
-d执行解压缩操作
-l显示压缩包中文件的列表
-L显示软件许可信息
-q禁用警告信息
-r在目录上执行递归操作
-t测试压缩文件的完整性
-V显示指令的版本信息
-l更快的压缩速度
-9更高的压缩比。</code></pre>
<h3 id="参数">参数</h3>
<p>文件:指定要显示其中文件内容的压缩包。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->