Install command: Yum install-y unzip zip1. I want to compress a file abc.txt and a directory dir1 into yasuo.zip:# zip-r yasuo.zip abc.txt dir12. I downloaded a yasuo.zip file that I want to decompress:Unzip Yasuo.zip3. I have Abc1.zip,abc2.zip and Abc3.zip in the current directory, and I want to unzip them together:# unzip abc\? ZipNote: A character is represent
Linux comes with a unzip program can unzip the file, the decompression command is: Unzip Filename.zip also provides a ZIP program compressed zip file, command is zip filename.zip files Files will be compressed to Filename.zip also look at the suffix of your file, different suffixes of the file decompression and compression of the command are not the same summary
From: http://blog.csdn.net/mmllkkjj/article/details/6768294/ExtractTAR–XVF File.tar//Unpacking the TAR PackageTAR-XZVF file.tar.gz//Decompression tar.gzTAR-XJVF file.tar.bz2//Decompression tar.bz2TAR–XZVF file.tar.z//Unzip tar. ZUnrar e file.rar//decompression rarUnzip File.zip//Unzip zipSummarize1, *.tar with TAR–XVF decompression2, *.gz with gzip-d or gunzip decompression3, *.tar.gz and *.tgz with TAR–XZF
Zip is probably the most used document compression format. Its greatest advantage is in the use of different operating system platforms, such as Linux, Windows and Mac OS. The downside is that the compression ratios are not very high, and tar.gz and TAR.GZ2 are doing very well in terms of compression. Gossip less, let's get to the point:We can compress a directory with the following commands:# zip-r Archive_name.zip directory_to_compressThe following is if you
Earlier, I mentioned. How to package the file as a zip package, then how to unzip the zip file package into a normal file? It is easier to unpack the zip package into a normal package than to package the file as a zip. Because there is a multilevel file compression, there is no multi-level file decompression. In other words, when compressing, you have to plug all the files into the compressed package. Decompression only needs to decompress the first l
then compress to XXX.tar.gzTo extract gz, in fact, is to read a single file, the Python method is as follows:Import Gzipimport osdef un_gz (file_name): "" " ungz Zip file" "" F_name = File_name.replace (". Gz", "") # Get the name of the file and remove G_file = gzip. Gzipfile (file_name) #创建gzip对象 Open (f_name, "w+"). Write (G_file.read ()) #gzip对象用read () when opened, writes to open () The file that was created. g_file.close () #关闭gzip对象 TarXXX.tar.gz decompression t
TarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gzDecompression: Tar zxvf FileName.tar.gzCompression: Tar zcvf FileName.tar.gz DirName———————————————. bz2Decompression 1:bzip2-d filename.bz2Decompression 2:BUNZIP2 filename.bz2Compression: Bzip2-z FileName. tar.bz2Decompression: Tar jxvf FileName.tar.bz2Compression:
Article turned from: http://www.jb51.net/LINUXjishu/105916.html1. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录2. Unzip the mydata.zip under the/home directory into the Mydatabak directoryUnzip mydata.zip-d Mydatabak3, the home/home directory below the ABC folder and 123.txt compression becomes abc123.zipZip-r abc123.zip ABC 123.txt4. Extract the Wwwroot.zip from the/home directory directly int
unzip the file via the right-click menu:
Right click on the selected one or more compressed files, in the popup context menu, select "Extract Files ...", in the new "Extract Files" window, set the decompression options, click "OK" to extract the operation. If the extracted files are saved in the current folder, you can also do this by selecting "Extract to Current Folder".
Unzip the file via the main so
1, install ZIP, unzip applicationYum Install zip unzip2, compression and decompression filesThe following commands are all operated under the/home directoryCd/home #进入/home DirectoryA. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录B. Unzip the mydata.zip under the/home directory into the Mydatabak directoryUnzip mydata.zip-d MydatabakC, to the home/ho
1. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录2. Unzip the mydata.zip under the/home directory into the Mydatabak directoryUnzip mydata.zip-d Mydatabak3, the home/home directory below the ABC folder and 123.txt compression becomes abc123.zipZip-r abc123.zip ABC 123.txt4. Extract the Wwwroot.zip from the/home directory directly into the/home directoryUnzip Wwwroot.zip5, the Home/home directory
In Ubuntu12.10, decompress MySQL5.1.65 and record the installation process.
Decompress and install MySQL 5.1.65 in Ubuntu 12.10.
Homepage → Database Technology
Background:Read News
Unzip and install MySQL 5.1.65 in Ubuntu 12.10
[Date: 2012-12-05] Source: Linux community Author: teamlet [Font:]
Decompress and install MySQL 5.1.65 in Ubuntu 12.10.
1. Download
? P = mysql-5.1 o = linux-
2. Decompress
Gunzip mysql-5.1.65-linux-i686
1. Download a compressed package, for example:2. Extract to the Web root and rename to phpMyAdmin3. In the browser input http://localhost/phpmyadmin can see the login interface, after landing, database, table additions and deletions can be carried out.Just three steps, it's so simple, so magical ~For further configuration, please refer to other materials, for example: http://jingyan.baidu.com/article/0320e2c1e1fc661b87507b17.htmlphpMyAdmin installation minimalist tutorial [download,
. The network is a magical thing, you do not need to remember, as long as the search, there will always be some place you need: reference to these twoUsing Microsoft.VisualBasic;Using Microsoft.VisualBasic.Devices;The following two sentences to resolve the renaming, hahaha, you laugh, suddenly think you saw yesterday a sentence, "Why programmers like to write code, because that is in the creation of a life, to give him the program intelligence ~"Computer MyComputer = new computer ();MyComputer.F
Eclipse + Tomcat configuration in mac, unzip setomcat
Reprinted from Ghost
I haven't fully understood it yet, but the current version seems to have supported the establishment of the Tomcat server, but the following configuration is required to achieve it. You can also directly deploy the file in the Tomcat installation directory.
1. Install Eclipse...
2. install Tomcat... a little bit. Directory selection is very important.
3. Configure Tomcat in Ec
Mysql5.7.17 winx64.zip unzip version installation configuration graphic tutorial,
1.download mysql-5.7.17-winx64.zip;
Link: https://pan.baidu.com/s/1tTqT2sn7cEaOwEvrQ-LrHg password: i444
2. decompress the package to a folder (for example ):
Decompress the package to the current folder.
3. modify the configuration file:
Open the decompressed folder (configuration file location for this example D: \ Development \ mysql \ mysql-5.7.17-winx64 \ mysql-5.7
Haven't written a blog for a long time, today, a whim, record a problem solved today.After Curl set the curlopt_accept_encoding (7.21.8 before curlopt_encoding ) , according to the official saying, Is can automatically respond to the gzip compressed content decompression, but my project did not decompress, and online A search is also a large number of people ask this question, and the answer is actually said can be automatically extracted. I was bored.The Curl library in my project was compiled
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.