How to Archive and Compress and Back Again (using zip, gzip, bzip2, and tar in terminal)

File ArchiverPlenty of linux users enjoy working from the command line; from manipulating files to compiling software, many users never seem to leave the terminal. Something that I do all the time at the terminal is archiving and unarchiving files as well as compressing them. Today I’ll demonstrate the necessary commands to do this using a few of the most common compression schemes so that you too can handle archives like the pros.

Footnote: If you know what you’re doing already, you might like the cheat-sheet better!

Continue reading