How to decompress the folder using SSH?

0
43

 

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here