How Do I Compress and Unzip a File in Linux?
Contents

How do I unzip a zip file in Linux?

To extract the files from a ZIP file, use the unzip command, and provide the name of the ZIP file. Note that you do need to provide the “. zip” extension. As the files are extracted they are listed to the terminal window.

How do I uncompress and compress files in Linux?

Compress and decompress files On Linux

  1. 1.1 Compress files. …
  2. 1.2 Compress files and write the output to different files (Don’t replace the original file) …
  3. 1.3 Decompress files. …
  4. 1.4 View contents of compressed files without decompressing them. …
  5. 1.5 Compress file with gzip by specifying compression level.

24 мар. 2018 г.

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