压缩文件,保留源文件:
#保留源文件
gzip -c test>test.gz
解压文件,保留源文件:
gzip -dc test.gz>test
gzip说明文档:
Usage: gzip [OPTION]... [FILE]...
Compress or uncompress FILEs (by default, compress FILES in-place).
Mandatory arguments to long options are mandatory for short options too.

本文详细介绍了在Linux系统中如何使用gzip进行文件的压缩和解压缩操作,包括如何在压缩的同时保留源文件,以及gzip的相关使用说明。

1万+

被折叠的 条评论
为什么被折叠?



