How to decompress rar and zip files in Centos
Zip-r data.zip data
Explanation: The data folder is compressed into the data.zip format.
Unzip data.zip
Description: Decompress the data.zip file to the current folder.
Below are some detailed descriptions
1. I want to compress a file abc.txtand a directory dir1into yasuo.zip:
#
-v0.82.rar three. There are two less package. Tender to admire a few pkg . Bad download on the official website. Direct download, but a separate software, to the good quality of Tibet ... giveup 2.1. JAVAUseJava-unrar-0.3.jarUnziprar, and solve the Chinese garbledRecommended There is a project need to extract rar, Int
Linux also has corresponding methods to decompress the compressed files .zipand .rar in Windows:
1: Yu .zip
In Linux, zip and unzip are provided.Program, Zip is the compression program, unzip is the decompression program. They have many Parameter options. Here we will just give a brief introduction and give an exampl
sources or.
For windows users, go to http://www.7-zip.org/download.html to find the download file. The installation process is simple.
7-how to use zip in the command line
Format: 7z [adeltux] [-] [SWITCH]...
The first 7z is the program name. After 7zip is installed, there will be three programs: 7z, 7za, and 7zr. Among them, 7z is fully functional (that is, enabling the functions of all modules ), 7za
For the zip file on the web, a lot of examples, RAR file decompression PHP does not have direct support, you can use PECL to Http://pecl.php.net/package/rar download the corresponding version of the non-thread-safe DLL and then throw to the PHP ext directory.
Open php.ini.
Add one line
Extension=php_rar.dll
Restart
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:
Compression and decompression of rar and zip files in linux-Linux general technology-Linux technology and application information. For details, refer to the following section. 1. zip
Linx comes with an unzip program that can decompress the file. The decompression command is:
Unzip filename.zip
A zip program is
---------------------------------------------. ZipDecompress: unzip FileName.zipCompression: zip FileName.zip DirName
Decompress: jar-xvf *. zip---------------------------------------------. RarDecompress: rar a FileName.rarCompression: r ar e FileName.rar
Rar Please download
and display it on the display in Split-screen mode.$ tar TVF Usr.tar | MoreTo back up a file to a specific device, simply use the device name as the backup file name.Example 5: The user creates a backup file on the floppy disk of the/DEV/FD0 device and copies all the files in the/home directory to the backup file.$ tar Cf/dev/fd0/homeTo restore files from your device's disk, use the XF option:$ tar xf/dev/fd04. rar file Decompression and compressionR
scanning, may initially use Wubi installation of space allocated too little;This is the result of disk analysis, feel this is very intuitive, have the time to clean up the disk.Perhaps because of the installation of the Star Observation software stellarium, download a large amount of data caused by the lack of space, the software is very interesting, similar to Google Sky, can be simulated astronomical telescope from the ground view of the world to o
Method of extracting RAR and zip files in Ubuntu system
In the previous Windows system, there will be many RAR and zip format of compressed files, Ubuntu system by default, these files are not very good support, if you open the "Archive Manager" will prompt errors, So today to share with you how to extract the two f
In linux, zlib must be enabled. The following describes how to enable this function.1. Download and install zlibHttp://www.gzip.org/zlib/Decompress the tar package and enter the directory to execute the command:./Configure make install2. Add the php extension with the following command:[Root @ Ansen zlib] # pwd/Root/lnmp/php-5.3.0/ext/zlib # php source package directory[Root @ Ansen zlib] # mv config0.m4 config. m4[Root @ Ansen zlib] #/usr/local/php5
7-zip is a so-called compression software with the highest compression ratio today, it supports not only the unique 7z file format, but also various other compressed file formats, including Zip, RAR, CAB, GZIP, BZIP2 and tar. This software compresses the compression ratio to be higher than the ordinary zip file 30-50%.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.