Zip and Unzip a File on Linux

Install Zip:

apt-get install zip

Compress a file:

zip file.zip backup.sql

Compress all files in the current directory:

zip directory.zip *

Uncompress a zipped archive:

unzip file.zip

More Related Posts