Note: This article is based on the Internet, but has been modified by the author.1. tar command
Tar can 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
Common compression file extensions:
*. Z: The file compressed by the compress program. (expired)
*. Bz2: Files compressed by Bzip2;
*. GZ: the files compressed by the gzip program;
*. Zip
*. Tar: The data packaged by the tar program has not been
5 to Linux-compression and backup, 5 to linux
I. Common compressed files in Linux
*. Z compress compressed files (not popular now, and can be decompressed using gzip );
*. Files compressed by the gz gzip program;
*. Bz2 bzip2 compressed files;
* The
Root @ Linux ~] #Tar [-cxtzjvfppn] file and directory ....Parameters:-C: Create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed file!-T: view the files in the tarfile!Note that C/X/T can only exist
Linux compression (decompression) command details
Note: This article is based on the Internet, but has been modified by the author.1. tar commandTar can create files and directories. Using tar, you can create a file (backup file) for a specific
Tar command
[Root @ linux ~] # Tar [-cxtzjvfpPN] file and directory ....
Parameters:
-C: create a parameter command for the compressed file );
-X: Unlock the parameter command of a compressed file!
-T: view the files in the tarfile!
Note that c/x/t
Linux tar command[Root @ linux ~] # Cp [-adfilprsu] destination)[Root @ linux ~] # Cp [options] source1 source2 soure3... directoryParameters:-C: create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed
Common Linux compression and packaging, linux compression and packaging
1. gzip, zcat
[Root @ linux ~] # Gzip [-cdt #] Alias NameParameters:-C: outputs compressed data to the screen and can be processed through data stream redirection;-D: extract
From: http://www.ixpub.net/thread-619016-1-1.html
Tar command [Root @ Linux ~] # Tar [-cxtzjvfppn] file and directory ....Parameters:-C: Create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed
Common compression tools under Linux are zip, bzip2, gzip, XZ, tarDecompression tools are unzip, BUNZIP2, Gunzip, Unxzbzip2, gzip, three commands above can not compress the directory, only the files under the directory compressionCompression command:
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
Parameters:
-C: Create a compressed file parameter instruction (create meaning);
-x: Unlock a parameter command for a compressed file!
-T: View the files inside the Tarfile!
In particular, in the release of the parameters, c/x/t can only exist
tar command
[Root@linux ~]# tar [-cxtzjvfppn] files and directories ....
Parameters:
-C: Create a compressed file parameter instruction (create meaning);
-x: Unlock a parameter command for a compressed file!
-T: View the files inside the Tarfile!
In
The use and technology of a compressed file
1 At present our computer is measured in byte, but in fact the smallest unit of measurement in the computer is bit. We know 1byte = 8bit
2 Simply put, there will be a lot of "space" in the file, not
Tar command[Root @ Linux ~] # Tar [-cxtzjvfppn] file and directory ....Parameters:-C: Create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed file!-T: view the files in the tarfile!Note that C/X/T can
Tar command[Root @ Linux ~] # Tar [-cxtzjvfppn] file and directory ....Parameters:-C: Create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed file!-T: view the files in the tarfile!Note that C/X/T can
The first is to install cmake, the installation process see my series of posts: http://bbs.witech.com.cn/viewthread.php? Tid = 14486 & pid = 95708 & page = 2 & extra = # pid95708
After that, my questions will be summarized into my blog. The
Linux package compression command Summary
Tar command[Root @ linux ~] # Tar [-cxtzjvfpPN] file and directory ....Parameters:-C: create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed file!-T: view the
Common CentOS commands
Because the learning needs will often be used and forgotten, we hereby back up:
1. About compression and decompression:
At the end of lifecycle. After the tar package is generated, you can use other programsLine compression,
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.