gpt4 book ai didi

linux - 在 SunOS 中使用哪个命令相当于 linux 中的 zgrep

转载 作者:太空宇宙 更新时间:2023-11-04 11:15:38 25 4
gpt4 key购买 nike

<分区>

尝试在 *.gz 文件中查找字符串并尝试以下操作;

   zipgrep user >filename>.gz 
[<filename>.gz]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of <filename>.gz or
010414:22:59.serverlog.gz.zip, and cannot find <filename>.gz.ZIP, period.
/usr/bin/zipgrep: test: argument expected

zgrep is not available;
zgrep -h
-bash: zgrep: command not found

感谢您的帮助。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com