Categories
Linux Tutorial Series

Linux Tutorial Series – 128 – Other compression and archiving commands

Here is the video version, if you prefer it:

There are other compression commands (such as bzip2) and archiving commands (such as zip). (Shotts, 2019)⁠

zip may be useful; its syntax is:

zip zipFile fileToArchive

where zipFile is the newly created zip file and fileToArchive is the file you want to compress.

If your fileToArchive is a directory, use:

zip -r zipFile fileToArchive

To unzip use:

unzip zipFile

I never used bzip2 so far, but just know that it exists.

Hope you learned something useful!

References

Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 261-262; 268-270

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published.