ArUnpacking: 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.gz and. tgzDecompression: Tar zxvf FileName.tar.gzCompression: Tar zcvf FileName.tar.gz DirName---------------------------------------------. bz2Decompression 1:bzip2-d filename.bz2Decompression 2:BUNZIP2 filename.bz2Compression: Bzip2-z F
A detailed example of compression decompression commands under LinuxExample: 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 does not execute the zip command, but basically can be used with the tar command, the example is as follows:tar-zcvf/home/zdzlibs.tar.gz/ho
ratioThe compression ratio of compressed files can be verified by using the '-l ' option.Gzip-l archieve.gzCheck the compression ratec) Unzip the fileGunzip is used to extract files, where the original (compressed) files are also deleted after being decompressed. Use the-C option to preserve the original file.Gunzip-c archieve.gzUnzip the fileGzip plus the '-d ' option and gunzip have the same effect on compressed files.More details are available fro
System version:[Email protected] ~]# uname-r2.6.32-358.el6.i686[Email protected] ~]# cat/etc/issueCentOS Release 6.4 (Final)Kernel \ r on an \mDownload the Linux generic 32bit mysql package (http://dev.mysql.com/downloads/mysql/).Step Start:1, directly wget download, or download and upload to the server side.2, unzip.3, copy the extracted MySQL directory to/usr/local/mysql and create a new data directory under it.4, new user MySQL and user group MySQL
Tags: top production system component Ubuntu information file system compressed file UbuntRemove directory structure plus--strip-components NSuch as: Compressed file Eg.tar file information is src/src/src/eg.txtRunning TAR-XVF Eg.tar--strip-components 1Results:src/src/eg.txtIf you run TAR-XVF Eg.tar--strip-components 3The results of the decompression are: eg.txtIn the decompression, if you want to specify the decompression directory, you can add the parameter-C target directorySuch as: If we
Compression Decompression Command Introduction. GZ compression to gzip files. bz2 compression to bzip2 file. tar package files, merging multiple files into one directory. tar.gz first into a tar package, then compressed to gzip file. tar.bz2 first into a tar package, then compressed into a bzip2 file. Tar. Z first into a tar package, then compressed to Z file. rarCompress to RAR fileCompressed rar a *.rar fileUnzip Unrar e *.rar. zipCompress to zip fileCompressing zip *.zip filesDecompression
One, ". GZ" Compressed file 1 compression syntax gzip [file]2 decompression syntax gunzip [Compressed file]3 linesGzip can only compress filesGzip does not retain original filesSecond, ". bz2" Compressed file 1 compression syntaxbzip2 [-K] [file]-K Retain original file (keep) after generating compressed file2 decompression syntaxBUNZIP2 [-K] [file]-K retains the original compressed file (keep) after generating the extracted file3 descriptionBZIP2 can only compress filesIii. ". tar.gz"
Tags: Specify file Pre nbsp compression tool Save Command Value Rescommands for the common Unzip tool: gzip (. gz) bzip2 (. bz2) XZ (. xz) compress (. z) tar (. tar)1.gzipSyntax: gzip option FILECommon options:-D-#-C(1)-D decompressionDecompression method: "Gzip-d FILE"(2)-# set compression ratio, default is 6 (range value is 1-9)(3)-C compression when the source file is preserved while the compressed content is entered into the terminal, usually and
NOTE: * Compress into limited. zip format filesCommon decompression:[Email protected] test]# Unzip-o test.zip-d tmp/Unzip the compressed file Test.zip under the specified directory TMP , and require the unzip command to overwrite the original file if the same file exists.Common compression:[Email protected] test]# zip-r test.zip./*All files and folders under the
During website migration, too many files in the website directory will consume a lot of time, so we need to use the compression and decompression commands, such as, I need to back up the/home/wwwroot folder, however, because wwwroot contains tens of thousands or even more files, you need to use the zip command to compress the wwwroot file and then transfer it:
CD/wwwroot
Zip-r wwwroot.zip wwwroot
OK ,the wwwrootfile is compressed into the wwwroot.zip format, which is uploaded an
For details about tar, gzip, and unzip commands, refer to tar to create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar was originally used to create files on tape. Now, you can create files, such as floppy disks, on any device. Using the tar command, you can package a large number of files and directories into one file, which is very useful for
background: still a friend, when invoking the unzip command with PHP, there is a problem with permission being rejected again.Notice: The problem described here is to execute PHP files using the PHP command line, so the process is the owner of the user who is logged in, not the Nginx user.Log in as root to set read and Execute permissions for MyUser's home directoryNotice:CD to a directory, you need to have Execute permissions on the directory, otherw
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
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.