unzip in linux command code example

Example 1: 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 2: unzip command in linux

unzip file.zip -d destination_folder

Example 3: unzip command in linux

move command : mv filename dirname
remove command : rm -r filename
copy command : cp filename dirname
zip command : zip -r filename.zip foldername
unzip command : unzip filename.zip -d dirname

Example 4: how to unzip using tar

tar -xf archive.tar.gz

Example 5: unzip linux

unzip file.zip -d destination_folder
or unzip path/to/file.zip