Find out how easy it is to create compressed archives from the Linux command line, using zip. Jack Wallen shows you how.
Image: Jack Wallen
Recently, I showed you how to create compressed archives from the Linux command-line using the tar command. This time I want to demonstrate the same task, but using a tool you’re probably already familiar with. The tool in question is zip, and it creates compressed zip files from whatever you throw at it.
SEE: 5 Linux server distributions you should be using (TechRepublic Premium)
So, let’s say you have the folder TEST and you want to create the compressed file TEST.zip so you can send it to a colleague. Fortunately, Linux can use the zip tool, but first, you might have to install it with a command like sudo apt-get install zip -y or sudo dnf install zip -y.
Once installed, zip…