Compression zip under Linux, unzip unzip commandI personally test the summary:Linux installation Unzip zipInstall command: Yum install-y unzip zip# Unzip Yasuo.zipMethod One:Install command: Yum install-y unzip zip1. I want to compress a file
Example: compressing the contents of the current directory on the server as a xxx.zip fileZip-r xxx.zip./*Unzip the zip file to the current directoryUnzip Filename.zip============================Another: Some servers do not install the ZIP package
Encountered the database can not find the cause of the problem, can only find the log, find the log when the old log is compressed, only to try to extract the A large amount of data, only in production decompression, and then to find The file name
Packaging Example: package files in the /usr/local/src/zlib-1.2.5 directory into zlib-1.2.5.tar.gzCD/USR/LOCAL/SRCTAR-CZVF./zlib-1.2.5.tar.gz/zlib-1.2.5/*# compressed into the development directory (for example:/root/2/) tar-czvf/root/2/
Command Line2 zip and unzip, line2unzipCommand Line-ZIP 1. know zip
You can use man zip to obtain the man page of the zip command. The zip command can be used to compress the package file. The compressed file ends with. zip.
man zip
2. Zip
One, zip compression1, Application examples(1) package all the files under the current folder into one Xxx.zip file Zipxxx.zip *(2) package all. doc files in the current folder into a single xxx.zip fileZipxxx.zip *.doc(3) Compress a file xxx.txt
This article comes from "Stones" blog, http://pengyl.blog.51cto.com/5591604/1191197
Packaging, a combination of many files and directories is saved as a whole package file for easy delivery or portability. The compression operation can further
Python upgrades the green software, including single file upgrade and multi-file upgrade,
1. Three directories are required for green software upgrade:1) mainVersionDir, directory of the main version FileStores complete compressed packages.2)
For those who have just come into contact with Linux, it will definitely give Linux a bunch of different filenames to stun. Don't say it. For example, for compressed files, we know that there are only two types of compressed files that are most
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.