zfgrep

在可能压缩的文件中匹配固定字符串。 相当于 grep -F,如果必要,将先解压输入。 更多信息:https://manned.org/zfgrep.

zfgrep {{搜索字符串}} {{路径/到/文件}}

zfgrep --count {{搜索字符串}} {{路径/到/文件}}

zfgrep --line-number {{搜索字符串}} {{路径/到/文件}}

zfgrep --invert-match {{搜索字符串}} {{路径/到/文件}}

zfgrep --files-with-matches {{搜索字符串}} {{路径/到/文件1 路径/到/文件2 ...}}