How to use Zip on Linux





If we want to zip files on linux
then we must install zip, just look on google how to install zip on CentOS, can use the command


yum install zip

How to zip the folder :




1. Zip file

zip <namefile.zip> <thefilename>

example:

zip bongbong.zip bongbong.exe


2. Zip Folder

zip -r <namefile.zip> <foldername>

example:

zip -r bongbong.zip bongbongfolder




Previous
Next Post »