I learned about the compression technology in linux today.

Source: Internet
Author: User
I learned about the compression technology in linux today-general Linux technology-Linux technology and application information. The following is a detailed description. * Files compressed by the. Z compress program;
*. Files compressed by the bz2 bzip2 program;
*. Files compressed by the gz gzip program;
* The data packaged by the. tar program has not been compressed;
* .Tar.gz tar package files, which are compressed by gzip
The commands are compress.
Bzip2
Gzip
Tar. This is the packaging Command ..
It can be used with gz and bz2.
For example, package a file named config.
Tar-cvf config.tar config
If You Want To Compress With gz, add tar-zvcf config.tar.gz config to it.
If bz2 ends, tar-jvcf config.tar.bz2 config is required.
The public tables z and j are compressed by gz and bz2 respectively ..

View the environment variable.. echo $ PATH in linux
For example, add bin in mysql
PATH = "$ PATH" =/usr/local/mysql/bin

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.