[Linux] How to Compress Folder and Decompress File
1. Compress a folder To compress a folder in Linux, you can use the tar command. The tar command is used to create, manage, and extract files that are archived in the tar format. To compress a folder, you can use the -czvf flags, which tell tar to create a compressed archive, use gzip compression, be verbose, and use the file name that follows. First, navigate to the directory containing the folder you want to compress. Then, run the following command: ...