Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
39 lines (23 loc) · 696 Bytes

File metadata and controls

39 lines (23 loc) · 696 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

bzcat

解压缩指定的.bz2文件

补充说明

bzcat命令 解压缩指定的.bz2文件,并显示解压缩后的文件内容。保留原压缩文件,并且不生成解压缩后的文件。

语法

bzcat(参数)

参数

.bz2压缩文件:指定要显示内容的.bz2压缩文件。

实例

/tmp/man.config以bzip2格式压缩:

bzip2 -z man.config

此时man.config会变成man.config.bz2

将上面的压缩文件内容读出来:

bzcat man.config.bz2

此时屏幕上会显示 man.config.bz2 解压缩之后的文件内容。

Morty Proxy This is a proxified and sanitized view of the page, visit original site.