Article Title: compression and decompression of rar and zip files in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. zip
In Linux, an unzip program is provided to decompress the file. The decompression command is:
Unzip filename.zip
A zip program is also provided to compress the zip file. The command is
Zip filename.zip files
The file will be compressed to filename.zip.
2. rar
Because rar is a paid software, linux does not have the software that is pressurized and decompressed. You can go to rar official website http://www.rarsoft.com download trial version
After installation, available commands
Unrar e filename.rar decompress the file
Rar a files filename will compress filesinto filename.rar. Note that rar will automatically add a suffix after your file. Rar.