
In some cases, you will need to unzip a zip file inside the specific directory. No errors detected in compressed data of test.zip.ĥ. To test whether the zip file is valid zip archive or not using the option -t with unzip command: To see contents of a compressed zip file you can use the option -l with unzip command as shown below:ġ46 13:06 apt//mystic-mirage-pycharm-trusty.listģ64 13:06 apt//ondrej-php.gpgĠ 13:06 apt//minecraft-installer-peeps-minecraft-installer.gpg~ģ78 13:06 apt//minecraft-installer-peeps-minecraft-installer.gpgĠ 13:06 apt//projectatomic-ppa.gpg~ġ137 13:06 apt//projectatomic-ppa.gpgģ53 13:06 apt//osmoma-audio-recorder.gpgĦ541 13:06 apt//nilarimogard-webupd8.gpgĠ 13:06 apt//webupd8team-java.gpg~Ġ 13:06 apt//nilarimogard-webupd8.gpg~ģ66 13:06 apt//mystic-mirage-pycharm.gpgħ140 13:06 apt//webupd8team-java.gpgĠ 13:06 apt//osmoma-audio-recorder.gpg~Ġ 13:06 apt//mystic-mirage-pycharm.gpg~Ġ 13:06 apt//ondrej-php.gpg~Ĥ. To unzip multiple file use the following command:ģ. To unzip a single file use the unzip command without any option as shown below:Ģ. Here’s are several ways to Unzip a compressed zip file in Linux:ġ. -u : This option extracts those files that do not already exist on disk.-d : This option is used to extract files in the specified directory.


To install unzip on CentOS/RHEL/Fedora operating system, run the following command:Īfter installing unzip, you can see the installed version of unzip using the following command:Ĭompiled with gcc 4.8.2 for Unix (Linux ELF) on Nov 9 2015.ĬOPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported) To install unzip on Ubuntu/Debian operating system, run the following command: So you will need to install it on your system. Install Unzipīy default, unzip package is not installed in any Linux operating systems. In this tutorial, we will show you how to unzip a file in Linux with several examples. If files in the archive were also compressed, unzip command will also uncompress them. Unzipping is a process of extracting all the files from the zip archive. You can easily Zip and Unzip single or multiple files using this tool.
:max_bytes(150000):strip_icc()/unzip-command-ubuntu-show-files-5b1596c61d64040036da7c37.png)
Zip (or Unzip) is one of the most popular and most widely used tools that can be used to create compressed archive files.
