Home » Zip and Unzip Command using Linux(Ubuntu) Terminal

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.

Read Also:  how to pick video from gallery in android programmatically?

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,

Read Also:  [SOLUTIONS] 500 INTERNAL SERVER ERROR PHP

$ 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,

Read Also:  Install and Uninstall Node.js and NPM using Linux(Ubuntu 18.04 LTS) Terminal

$ 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.


Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  Best Installing Linux Mint on a old laptop
  2. Read Also:  Shell Script to Add Two Numbers using ommand line arguments
  3. Read Also:  2500+ Fonts Bundle Download | Free Fonts Pack For Designer
  4. Read Also:  Creating Dynamic XML Sitemaps Generator Using PHP MySQLi
  5. Read Also:  Default SET Text Editor in Open FileZilla files
  6. Read Also:  Install Elasticsearch on Debian 10/9/8 Tutorial
  7. Read Also:  Bash if else statement using Bash Scripting
  8. Read Also:  Creating Dynamic XML Sitemaps Generator Using PHP MySQLi
  9. Read Also:  Install Elasticsearch on Debian 10/9/8 Tutorial
  10. Read Also:  Shell Script to Add Two Numbers using ommand line arguments

Leave a Comment

Your email address will not be published. Required fields are marked *