Linux Learning 2

Source: Internet
Author: User

Third, Linux common commands 04

Compression: gzip:

1. Only files can be compressed and the directory cannot be compressed

2. Do not keep source files

Decompression: Gunzip gzip-d

----------------------------------------------------------------------

Command name: Tar

Syntax: tar options [cvf][directory]

-C generate. tar package file

-V Show More information

-f Specifies the file name after compression

-Z Package simultaneous compression

Function Description: Package directory

Command path:/bin/tar

Execute Permissions: All Users

-----------------------------------------------------------------------

Command name: Tar

Syntax: tar options [cvf][directory]

-X unpack the. tar file

-V Show More information

-F Specify Unzip file

-Z Decompression

Function Description: Unzip

Command path:/bin/tar

Execute Permissions: All Users

------------------------------------------------------------------------------

Command name: BUNZIP2

Syntax: BUNZIP2 option [-k][compressed file]

-K preserves source files after decompression

Function Description: Unzip

Command path:/USR/BIN/BUNZIP2

Execute Permissions: All Users

-------------------------------------------------------------------------------

Command name: Write

Grammar:

     

Function Description:

Command path:

Execute permissions:

File format after compression:

---------------------------------------------------------------------------------

Linux Learning 2

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.