"Linux" "two" Linux compressed files (TXT), view the contents of compressed files, extract files,

Source: Internet
Author: User

compressing files and extracting files by Xshell

gzip Tools.txt Compress "tools.txt" files      

Zcat tools.txt.gz View Compressed file "tools.txt.gz" content

gunzip tools.txt.gz Unzip the file "Tools.txt.gz"     

Cat Tools.txt View File "tools.txt" content

Decompression statements can also be written like this

GZIP-D9 tools.txt.gz Decompression File "-D: decompressed parameters; -# : Compression level, 1 worst, 9 best, 6 is the default value ! "

more commands refer to the command summary for Linux compressed files

2018-01-04 15:06:02

"Linux" "two" Linux compressed files (TXT), view the contents of compressed files, extract files,

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.