In this tutorial we are going to learn how we can zip or unzip the file or the folder in Linux.
Here are some steps bellow:-
Prerequisite: Verify if zip is installed
First, we need to verify the zip and unzip command is install or not. to check that we need to run the bellow command.
sudo apt install zip unzip
Let’s Zip the file and folder now.
Go to the parent Folder.
cd Desktop
zip -r demo.zip demo
Let’s Unzip the folder
unzip demo.zip -d demo
unzip File_Name.zip -d Destination_Folder
Hello Friends, I’m Mohit Sharma founder of tutrialwala.com, Full Stack Web Developer. Expertise in WordPress, PHP, Laravel, Angular, and Frontend Development. In this publication, I share everything I know about PHP frameworks and Javascript frameworks, packages, and tools.
Have a project in mind? Get in touch