EN
Linux - unpack zip file
15
points
In this short article, we would like to show how to unpack files from *.zip
file using unzip
under Linux.
Quick solution:
unzip file.zip
# or:
unzip /path/to/file.zip
Where:
file.zip
or/path/to/file.zip
should be replaced with a desired zip file path.
Note: by default files will be extracted to the current working directory - check the below usage variants to see how to change output directory path (
-d
parameter).
Usage variants
In this section, you will see the most common unzip
usage cases.
1. Unpack files into the indicated directory
Where:
|
2. Suppress unpacking messages
Where:
|
3. Use zip archive password
Where:
|
4. Overwrite existing files without prompting
Where:
|
unzip
command installation
To install under Debian/Ubuntu-based Linux it is necessary to use the following command:
sudo apt-get install unzip