Skip to content

How to Zip on Linux

This is fairly straight forward yet people find it somewhat confusing. Follow these easy steps below or if you need more help, use the Linux manpage.

How to Zip a file(s)

_The Examples shows how to zip a single file and multiple files into a single .zip

zip photo.jpg
zip photo1.jpg photo2.jpg photo3.jpg

How to Zip an entire Directory

The Example shows how to zip a directory called photos into a zip file called

zip -r photos

How to Unzip a .Zip File


How to list contents of a .Zip file without Unzipping

unzip -l
comments powered by Disqus