Linux Unzip the tar commandTar-zcvpf/backup/home.tar.gz/home with file attribute permission compressionTar cvpft/backup/config.tar/backup/configlist compression According to the list in the Configlist filetar-zxvpf/software/home.tar.gz with file attribute permissions decompressiontar [-cxtzjvfppn] files and directories ....Parameters:-C: Create a compressed file parameter directive (the meaning of Create);-x: Unlock the parameter instructions for a co
list all the files in the All.tar package,-T is to list the meaning of the fileThis command is to solve all the files in the All.tar package,-X is the meaningCompressiontar –cvf jpg.tar *.jpg //将目录里所有jpg文件打包成tar.jpgtar –czf jpg.tar.gz *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用gzip压缩,生成一个gzip压缩过的包,命名为jpg.tar.gztar –cjf jpg.tar.bz2 *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用bzip2压缩,生成一个bzip2压缩过的包,命名为jpg.tar.bz2tar –cZf jpg.tar.Z *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用compress压缩,生成一个umcompress压缩过的包,命名为jpg.tar.Zra
/mysql/--datadir=/usr/local/mysql/daTA -------Note that the data store directory, because/directory space is small enough to use, so I stored the data into the/data/mysql57, that is mkdir/data/mysql57 chown-r mysql/data/mysql57 Chgrp-r mysql/data/mysql57 cd/usr/local/mysql/bin ./mysql_install_db--user=mysql--basedir=/usr/local/mysql/ --datadir=/data/mysql57 Problems you may encounter here: Installing MySQL system Tables..../bin/mysqld:error while loading shared LIBR Aries:libnuma.so.1:cannot op
: Sends the output to the more program processing.-N: Do not overwrite the original file when decompressing.-O: Do not need to ask the user first, unzip overwrite the original file after execution.-p-Q: No information is displayed when executing.-S: Converts white space characters in file names to baseline characters.-V: Keep the file version information of the VMS.-X: The original uid/gid of the file is also stored back when decompressed.[. zip file]
Tags: report view Linux fun tar fix art man auto1, in the Linux system backup files, in the Windows decompression appeared in Chinese garbled, this is actually a mistake, I use the win03 with the zip view Explorer directly copied, so there is this problem, we recommend the use of free 7-zip.2, backup the program zip file on Windows, if the file path contains Chinese, unzip in Linux may appear garbledAnalysis: Files that are compressed on windows are c
1.copy mysql-5.6.10-win32.zip to the d: \ app directory.
2.decompress mysql-5.6.10-win32.zip
3. Under D: \ app \ mysql-5.6.10-win32,
Copy the my-default.ini file to generate the recovery my-default.ini file. Rename the recovery my-default.ini file to my. ini ".
(Note: If you directly change the my-default.ini file, the followingCharacter_set_server = utf8 is invalid.)
Modify the my. ini file under D: \ app \ mysql-5.6.10-win32
Add the following content to [mysqld ]:
[Mysqld]
Character_se
-M
After compressing the file into a compressed file, delete the original file, that is, the horse file is moved to the compressed file
-F
Try to repair a corrupted compressed file
-T
Check that each file within the compressed file is correct
- #
The compression level is a number between 1-9
Unzip command
-X "File list"
Unable to extract zip file under Linux folder using unzipSo want to build a shell file under win to run under Linux, the result of this SH file in Linux runtime error, the same file generated under Linux can be executed.It seems that win under the file format sh suffix can not be run under Linux, win under the encoding mode of UTF8, press to Linux is also UTF8. I can't run this without a specific test.Do you want to use the vi file name to edit the composition of the command combination of the w
Decompression sequenceExample 1: The left value must be the same as the value on the right one by one, or it will be an error1 >>> a,b,c={1,2,3} #a =1,b=2,c=32 >>> a3 14 >>> b5 26 >>> C7 3Example 2: The left value must be the same as the value on the right one by one, or it will be an error1>>> a,b,c,d,e='Hello' #decompression sequence, the left value must be the right value is one by one corresponding to the relationship, or will error2>>>a3 'h'4>>>b5 'e'6>>>C7 'L'8>>>D9 'L'Ten>>>e One 'o'Ex
1. See http://www.codeproject.com/KB/files/zip_utils.aspx
2. Include the header file # include "Zip. H", # include "Unzip. H", which is already detailed in the original article.
3. It is emphasized that the number of bytes must be increased by 1 when extracting data to the memory.
Hzip Hz = openzip (filename, 0); // read the zip package
Ze. unc_size is the size of the file, so you must add one more byte to the end. Otherwise, garbled characters may o
Install unzip CT on CentOS
CT is created on the basis of tcl, so you need to install tcl before installing CT
Install TCL: Http://www.tcl.tk/software/tcltk/download.html[Root @ test ~] # Cd/tools/[Root @ test tools] # wget http://prdownloads.sourceforge.net/tcl/tcl8.5.19-src.tar.gz[Root @ test tools] # tar xftcl8.5.19-src.tar.gz[Root @ test tools] # cdtcl8.5.19/unix/[Root @ test unix] #./configure[Root @ test unix] # make[Root @ test unix] # makeinsta
CEN decompress the. ZIP file and search a lot of methods on the Internet, using System. IO. compression. GZipStream uses the J # library function and the Java-based library function. However, many of them are not very good. In the end, it is still the System function System. shell. folder. copyHere (
OItem
[
,
IntOptions. The specific method is as follows:
1. Add the reference Shell32.dll, which can be found in Windows \ system32.2. Add the method.
Code highlighting produced by Actipro CodeHi
Use the basic SQLite3 command and the unzip tusqlite3 command in ubuntu
System Platform: ubuntu10.04
IntroductionSqlite3 is mainly used for Embedded lightweight databases. This article aims to provide technical documents for familiar with sqlite3 basic commands.Note: All operations in this article are performed under the root user.
1. Install sqlite3Install sqlite3 in ubuntu and run the following command directly on the terminal:
#apt-get install sqli
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.