Extract a .zip file:
unzip file.zip
Extract a .zip file to a specific directory:
unzip file.zip -d destination_directory
Extract a .zip file and overwrite existing files:
unzip -o file.zip
Extract a .zip file and display extraction progress:
unzip -v file.zip
Extract a .tar file:
unzip file.tar
Extract a .tar file to a specific directory:
unzip file.tar -d destination_directory
Extract a .tar.gz file:
unzip file.tar.gz
Extract a .tar.gz file to a specific directory:
unzip file.tar.gz -d destination_directory