If the zip file has a list of files in it and one of the files on the disk has changed, then the amended file is updated in the zip file. However, in this case, you only need to put the zip file name as the argument.

To extract the files from a ZIP file, use the unzip command, and provide the name of the ZIP file.

unzip will list, test, or extract files from a ZIP archive files. As the files are extracted they are listed to the terminal window. Unzipping files can be done using the unzip command. It is similar to zip command. Note that you do need to provide the “.zip” extension.

ZIP command in Linux with examples zip is used to compress the files to reduce file size and also used as file package utility.
Unzipping the zip file zip is a compression and file packaging utility for Linux and Unix (including FreeBSD, Solaris etc). unzip source_code.zip. Compressed (zipped) files take up less disk space can be transferred from one to another machine more quickly than uncompressed files. ZIP files don’t carry details of file ownership. Zip is the most widely used archive file format that supports lossless data compression.

The name of the command is as below.

A Zip file is a data container containing one or more compressed files or directories. unzip zipname.zip. Let’s try to unzip the files that we zipped in the above section.