> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/bzgrep.md).

# bzgrep

使用正则表达式搜索.bz2压缩包中文件

## 补充说明

**bzgrep命令** 使用正则表达式搜索“.bz2”压缩包中文件，将匹配的行显示到标注输出。

### 语法

```
bzgrep(参数)
```

### 参数

* 搜索模式：指定要搜索的模式；
* .bz2文件：指定要搜索的.bz2压缩包。
