extract zip file ubuntu code example

Example 1: ubuntu unzip file

// install
sudo apt install zip unzip

// zip
zip -r example.zip original_folder

// unzip
unzip file.zip -d destination_folder

Example 2: unzip command in ubuntu

Zip-unzip utility:
sudo apt-get install zip unzip
navigate to the place where the zip belongs and,
unzip test.zip, where test.zip is the zip file to extract

Example 3: ubuntu zip file

zip -r example.zip original_folder

Example 4: ubuntu unzip zip

unzip file.zip -d destination_folder

Example 5: unzip ubuntu

unzip zipped_file.zip -d unzipped_directory

Example 6: how to install unzip in ubuntu

apt-get install unzip