How Do I Gunzip a File in Linux?
Contents

How do I unzip a .GZ file in Linux?

How to Extract . gz File in Linux Command

  1. gzip access.log. Above command will create a archive file named access. log. gz in current directory.
  2. ls -l access.log.gz -rw-r–r– 1 root root 37 Sep 14 04:02 access.log.gz. Now use gunzip command to extract access. log. gz file using command. This will extract the file from archive and remove . …
  3. gunzip access.log.gz.

3 сент. 2019 г.

How use Gunzip command in Linux?

Decompressing Files with gunzip

The general syntax for the gunzip command is as follows: gunzip [OPTION]… [FILE]… On most Linux distributions, such as Ubuntu, CentOS, and Debian, gunzip is a bash script wrapper to the gzip -d command.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest