ServerCake India

How to decompress the folder using SSH?

Decompress Graphical Illustration

Most common archive types are zip(ending with .zip), tar(.tar), Tar+Gunzip (.tar.gz), Bzip(.bz1) and Rae(.rar). unzip command is used to extract a ZIP folder. From the below example, unzip command is used to extract the folder name as newfolder.

unzip newfolder.zip

Find the below command to compress the files or folders using SSH

 zip -r filename.zip file-name

Editorial Team

Editorial Team at ServerCake India Blog is a team of experts in Server Administration, Business Development, Management, SEO Analyst & Graphic Designers with more than 5+ years of expertise.

Add comment