At some point in your Linux journey, you’ll need to be able to compress and decompress a folder from the command line. Jack Wallen shows you how.
Image: Jack Wallen
The Linux command line is an incredibly powerful tool. From the CLI there’s next to nothing you can’t do. And although a GUI might make some of the tasks a bit easier, the simplicity of doing your work in a terminal window is about as elegant a solution as you’ll find.
SEE: 5 Linux server distributions you should be using (TechRepublic Premium)
Take, for instance, the task of compressing a folder. Sure, you could open a file manager, right-click a folder, and select Compress. But what if you’re on a headless server? A Linux without a GUI isn’t going to offer you a point-and-click affair. So what do you do?
You turn to the tar command, which makes short…