Zip and Unzip Command using Linux(Ubuntu) Terminal

Today, We want to share with you Zip and Unzip Command using Linux(Ubuntu) Terminal.In this post we will show you How to Zip and Unzip files on Ubuntu, hear for How to unzip a zip file using Terminal in Linux (Ubuntu, Linux mint, Debian …)? we will give you demo and example for implement.In this post, we will learn about How to unzip a zip file using the Linux and Unix bash shell terminal with an example.

Zip and Unzip Command using Linux(Ubuntu) Terminal

There are the Following The simple About unzip command in linux Full Information With Example and source code.

As I will cover this Post with live Working example to develop How to Zip or Unzip Files From the Linux Terminal, so the some major files and Directory structures for this example is following below.

How to zip via Ubuntu command line terminal?

$ sudo apt-get install zip. Bash.
$ zip -r compressed_filename.zip pakainfo_web_projects. Bash.
$ sudo apt-get install unzip. Bash.
$ unzip compressed_filename.zip -d atmiya25. Bash.
unzip command in linux with examples

How to zip via Ubuntu command line terminal?

First of all you have to simple step to install zip in Ubuntu using the following below command,

$ sudo apt-get install zip

After installing the zip utility, you can create zip file using the following command,

$ zip -r compressed_filename.zip atmiya25

How to unzip via Ubuntu command line terminal

We have to simple run this commands install unzip in Ubuntu using the following below command,

$ sudo apt-get install unzip

Adn then you can installing the unzip utility, Simple We can extract to a particular destination directory/folder using the following command,

$ unzip compressed_filename.zip -d pakainfo_web_projects
Web Programming Tutorials Example with Demo

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about linux unzip to directory.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment