gzip/gunzip指令

gzip用于压缩文件,gunzip用于解压的
  基本语法
    gzip 文件      (功能描述:压缩文件,只能将文件压缩为*.gz文件)
    gunzip 文件.gz  (功能描述:解压缩文件命令)

  eg:gzip压缩,将/home下的hello.txt文件进行压缩
      gzip hello.txt
      attention: 该命令不会保留原文件
  eg:gunzip压缩,将/home下的hello.txt.gz文件进行解压缩
      gunzip hello.txt.gz

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
相关资源
相似解决方案