Access to the server through SSH, it is inevitable to use compression, decompression, packaging, unpack, etc., this time the tar command is essential to a powerful tool. The most popular tar in Linux is though small, spite, and powerful.
The tar
There is no doubt about Linux security. Many Linux novices think so, but Linux is also likely to suffer from the virus.
First, Linux is more stable and secure than other operating systems. Theoretically, Linux could be harmed by viruses. But it is
Sosreport is a supportconfig tool, Sosreport is a tool written in Python that works for CentOS (like Redhat, package name is SOS), Most versions of Linux, such as Ubuntu (its next package is named Sosreport). The managed pages sosreport on GitHub
For those who have just come in contact with Linux, it will certainly give Linux a lot of different file names to get dizzy. Let's just say, in the case of compressed files, we know that there are only two types of compressed files that are most
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
1, configure multiple server logs as long as the $website variable is incremented and separated by a space.2, looping to create the log directory3, after the split with XZ compression, of course, can not be installed with Gzip bzip2 and so on.4,
Before you make a concrete summary of the various types of compressed files, first understand two concepts: packaging and compression. Packing refers to the
A large pile of files or directories into a total file, compression is a large file through
1, has compiled the packing good xxx.rpm
If your Linux system has a setup program, it is best to install it with the system's own installer. For example, SuSE YaST2 with installation procedures, in the KDE environment as long as the RPM, you
According to Wikipedia's interpretation, XZ is a lossless data compression file format using LZMA compression algorithms. As with gzip, BZIP2 supports multiple file compression, but the Convention does not compress more than one target file into the
Linux under the tar gz bz2 tgz z and so many compressed files compression and decompression methods, the need for friends can refer to the following:
The most common packaging program under Linux is tar, and the packages we use in the TAR program
First of all, attach Linux under the various suffix format Compression decompression command, if you do not want to understand why the reason can run out.
. tar
Unpack: Tar xvf Filename.tar
Packing: Tar cvf filename.tar dirname
(Note: Tar is
Original: http://www.linuxdiyf.com/viewarticle.php?id=193969
Note: Just want to know how to extract the RAR format friends can jump directly to the back, but note to install the 7zip rar module another: Linux can also be installed Unrar to extract
To reduce the amount of space occupied by log files, in many cases we package the log files in days or weeks as tar.gz packages. While this is a good space to take advantage of, it is inconvenient when we want to look at the contents of a compressed
One or two in-system distribution (binary package in *.rpm form, *.tar.gz/*.tgz, *.bz2 binary package)
(i), *.rpm form of binary packages
Installation: Rpm–ivh packagename.rpm
Uninstall: Rpm-e PackageName
(ii), *.tar.gz/*.tgz, *.bz2 form of binary
From:http://hi.baidu.com/jorling/blog/item/13db7bec1c38a1d32e2e21d3.html
File compression and archiving
Sometimes we need to store a set of files in a single file for backup or transfer to another directory or even another computer. Sometimes we
1. Method principle:
Based on the basic principle of hbase storage System, this paper presents an effective solution to the Mapfile file of HDFs with "state Mark Bit", which is not perfect to support append processing, which solves the problem of
General references and recommendations
The Docker build command uses Dockerfile or context to build the image, and the build context is a file of the specified local path or URL. The local path is the directory of the local file system, and the URL
first, compile and install:
Environment Preparation:
GNU make version >=3.8 (make--version)
Iso/ansi C compiler, at least compatible with C89 standard, GCC or Intel translator, etc. can be
gzip, bzip2, tar, source
As a database, in the system resources (CPU, memory, SSD, disk, etc.) certain premise, we want to:
stored data more: using compression, the world has a variety of compression algorithms;
Faster access: faster compression (write)/extract
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.