Tuesday, 02 Apr, 2024 -481

Zipping and Unzipping Files in Linux

We cover how to install the zip and unzip utilities on several Linux distributions in this subject. Compression of files & folders enables faster and more efficient transfer, storage, and emailing of files and folders. However, unzip is a useful program that aids in the decompression of files and directories.

 

Benefits of zipping files:

  • Less disk space is used by compressed or zipped files, giving you more available space.
  • Transferring ZIP files is simple and might involve uploading, downloading, and email attachments.
  • Zipped files can be readily decompressed on Linux, Windows, and even Mac.

We cover how to install the zip and unzip utilities on several Linux distributions in this subject..

 

$ sudo apt install zip

Using the command, you can verify the zip version that was installed after installation.
$ zip -v

Zip Command here

$ zip -r my_arch.zip my_folder

 

Run the unzip utility with a similar command, as demonstrated.


$ sudo apt install unzip

Similar to zip, you can run to verify the installed version of the unzip tool.

$ unzip -v

Unzip Command here

$ unzip my_arch.zip

Tags
Most Popular
img
02 Apr, 2024 view: 2171
img
02 Apr, 2024 view: 1030
img
01 Apr, 2024 view: 808
img
01 Nov, 2023 view: 749
img
02 Apr, 2024 view: 481
img
26 Apr, 2024 view: 478
img
01 Apr, 2024 view: 327
img
09 Apr, 2024 view: 252
img
18 Apr, 2024 view: 244
img
16 Mar, 2025 view: 29
Trending
  • testing bhai
    testing bhai
    hello Bhai
    2023-12-09 08:16:07 Reply