![]() ![]() By default, the contents are extracted to the same directory ( ~/mydir) of the ( newdir.zip ) ZIP file. Notice the command below will unzip the contents of the ( newdir.zip ) ZIP file. To unzip a ZIP file, launch your terminal and run the following command. Since you’ll still be running commands in a command-line environment throughout this tutorial, let’s start unzipping files via the command-line method. Both methods leverage the unzip package you previously installed to decompress ZIP files. Similar to compressing files, you get two methods for decompressing files, via Command-Line and GUI. But perhaps you need to extract or decompress the contents of the zip file. ![]() In the previous examples, you’ve learned how to zip files. Successfully created zip archive Decompressing Files with the Unzip Package The commands below are using the apt package manager to install the zip and unzip packages. To install the zip and unzip packages, launch the terminal on your desktop first and run the commands below depending on the Linux distributions you’re working on.Įach of the commands below begins with the sudo command to handle elevated permissions. ![]() Let’s now go through how to install these packages with the apt package manager. To compress and decompress into ZIP files with Linux, you’ll need a couple of packages called zip and unzip. Still, you could also work with other Linux distributions, such as Debian-based (like Unbuntu or Kali Linux), CentOS, or Fedora. The demonstrations throughout this tutorial were made in Kali Linux 2021.2. If you’re an IT pro struggling with too many password reset requests in Active Directory, check out Specops uReset, a secure SSPR solution. Ready?ĭive in and you’ll become a “zip master” at the end of this tutorial! Prerequisites And in this tutorial, you’ll learn how to compress and decompress zip files in Linux, along with other tips and tricks. Zipping is one of the best and popular techniques to compress files by reducing their size without losing quality. Have you ever wondered how to unzip files in Linux? Or how to create and extract a zip archive? Then this tutorial is all you need to manage your zip files effectively. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |