How to unzip a file in Ubuntu or Linux


To unzip a file to usual folder in Ubuntu or Linux. Use the following commands:

Install Unzip (if not yet installed already)

To install unzip into your machine, use the following command:

sudo apt install unzip


After you have installed Unzip, follow these steps to unzip the file:

1. To unzip and extract the files inside the same folder

unzip filename.zip


2. To unzip and extract the files inside another folder


unzip filename.zip -d /home/pathtofolder/NewFolderName 


Bookmark this page if you keep forgetting! Hope it helps. Keep sharing
Follow Me on Social Media

Advertisement
FREE Sales CRM Software

Fully customizable CRM Software for Freelancers and Small Businesses

Signup for Free

Sign up for DigitalOcean Cloud

Get FREE $200 credits, deploy your hobby projects for Free

DigitalOcean Referral Badge
Sign up for Hostinger Cloud or VPS plans and get upto 20% Discount