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