unzip from command line 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 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 a file using the cmd?

echo unzi started
powershell -Command "Expand-Archive -Path advanced-systemcare-setup.zip -DestinationPath $env:USERPROFILE\Desktop"
echo done
pause

Example 5: unzip folder using linx command

$ unzip tecmint_files.zip