Brother Bird's Linux Private Cuisine third Edition Foundation article part3

Source: Internet
Author: User
Tags bz2

The Nineth Chapter archives and file system compression and packing

*. Z Compress program compressed files. GZ gzip program compressed files. BZ2 bzip2 program compressed files. Tar tar packed data, uncompressed. tar.gz packaged data and gzip compressed

Zcat config.gz

Compression tar-jcv-f filename.tar.bz2 RM-RF!!!

Full Backup utility Dump [-S: Lists only the amount of disk space that is required to back up the data you: Log dump time to/etc/dumpdates V: to show the dump process J: Join BZIP2 support] [-level] [-F backup file: Similar to tar back Generated files] data to be backed up dump-w/etc/fstab with dump set partition whether to back up

Restore the critical data of your system when you are in emergencies. Restore-t View dump file restore-c Compare dump and actual file Restore-i Interactive mode

Cpio can be used to back up anything.

Tenth chapter: Vim

HL: The cursor moves around JK: The cursor moves up and down if you want to move multiple times: You can use a command like this: 30j, move down 30 lines

ctrl+f/b = PAGE down/up ctrl+d down/+u/up +: Cursor moves to the next column of non-whitespace-: Non-whitespace of the previous column N<space>: For example 20space, move backwards by 20 characters

0/home: Move to the front of the line prompt $/end: The last character of a line/word?/word Search Word string down/up

Delete/copy/paste

X x= del nx: Remove n characters back DD: Delete a whole line of NDD: Delete cursor down n rows d1g: Delete all data from the cursor to the first row DG: Delete all data from the cursor to the last line d$: Delete cursor to the last character of the line D0: cursor to No. 0 character, Delete yy from the beginning: Copy cursor on row nyy: copy n rows

Brother Bird's Linux Private Cuisine third Edition Foundation article part3

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.