# znew

将.Z压缩包重新转化为gzip命令压缩的.gz压缩包

## 补充说明

**znew命令** 用于将使用compress命令压缩的“.Z”压缩包重新转化为使用gzip命令压缩的“.gz”压缩包。

### 语法

```
znew(选项)(参数)
```

### 选项

```
-f：# 强制执行转换操作，即是目标“.gz”已经存在；
-t：# 删除原文件前测试新文件；
-v：# 显示文件名和每个文件的压缩比；
-9：# 食用油花的压缩比，速度较慢；
-P：# 使用管道完成转换操作，以降低磁盘空间使用；
-K：# 当“.Z”文件比“.gz”文件小时，保留“.Z”文件。
```

### 参数

文件：指定compress指令压缩生成的“.Z”压缩包。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/znew.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
