DEV Community

Bogdan Alexandru Militaru
Bogdan Alexandru Militaru

Posted on • Originally published at boobo94.github.io on

How to zip or unzip files in Ubuntu

First step, make sure that you have zip installed on your machine:

sudo apt-get install unzip

Enter fullscreen mode Exit fullscreen mode

If you want to extract to a particular destination folder, you can use:

unzip file.zip -d destination_folder

Enter fullscreen mode Exit fullscreen mode

If the source and destination directories are the same, you can simply do:

unzip file.zip

Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay