Take notes on Linux private food from laruence (8) -- File Search and file management 2

Source: Internet
Author: User
Tags uncompress
IV. gzip compression: the gunzipLinux standard compression tool can achieve a compression ratio of 75% for text files compress, and the uncompress old Unix compression tool bzip2, bunzip2's Linux compression tool has a higher compression ratio than gzip,

IV. compression

Gzip, gunzip

Linux standard compression tool

Up to 75% compression ratio for text files




Compress, uncompress VcD4KPHA + vsm1xFVuaXjRucv1uaS + 3zwvcD4KPHA + Incubator/NDCtcRMaW51eNG5y/incubator + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140108/2014010813024927.jpg" alt = "\">



5. packaging (tar)

Used for backup on a tape drive, floppy disk, or ZIP device. It can also be backed up on a hard disk file. (Compression function is not provided)

Main parameters:

C: back up the file

V: process output

F: change the file name after packaging.

T: list the content in the tar package

X: solves the backup from a file.

Z: Use the gzip tool for compression

J: use bz2 tool for compression

C: change the file path after packaging








System (dump/restore)

Back up and restore the ext2/3 file system

It cannot be used on other file systems

You can choose to perform full backup or incremental backup.

Dump-0u-f/var/tmp/hda2dump/dev/hda1: back up/dev/hda1 to the/var/tmp/hda2dump file.

0: indicates full backup.

U: write the backup record to/etc/dumpdates (this parameter can be used only in the top-level Directory of the backup partition)

F: specifies the path to the backup file.

Restore-rf/var/tmp/hda2dump: restore the backup file

R: restore the backup file

T: list the contents of the backup file.

F: specifies the backup file.

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.