Linux下不解压查看压缩文件的内容

1. zcat

可以使用zcat查看gzip压缩后的文件中的内容, 包括tar zcvf命令压缩后的文件

2. tar
可以使用tar -tvf查看tar包中包含的文件

3. zgrep
可以使用zgrep在压缩文件中进行内容搜索,

注:只能查看 .gz 文件.

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>