Small white Python Road 11/3 Summary

Source: Internet
Author: User

Ln-s specify who the source is

L is a soft connection where the source file is equivalent to a shortcut

1. Packaging

Archive command Tar-cvzf Test.tar a.txt b.txt c.txt where C is created, V is details, F is the file name after packaging, A.txt is a packaged file

Cd/etc Tar cvf Test.tar * package All files in etc directory

2. Compression

Parameters of gzip tar z others cvzf test.tar.gz

The parameter of bZIP tar is J,

3. Quick Method Supplement

> From do overlay to right,>> append

4.vim command line mode---enter edit mode by pressing ESC-->A cursor before I cursor, o cursor next line, O cursor next line

Save exit Re-expand mode: wq! : q!

5. Shortcuts in the command line

Replace%s///one is to replace the membrane table The second one is to replace who eg%s/shutdown/sb/replace the next line%s/shutdown/sb/d/replace all

U means recall ctrl+r back to previous G is the last line of the file. GG is the file at the beginning of H M L corresponding to the upper and lower screen

6. Partitioning

Fdisk/dev/sdb step is n new partition p primary partition L logical partition E expand partition W Save

Manufacturing File System Mkfs.ext4

Mount point A source can mount multiple directories multiple sources can not mount a directory

Set up a mkdir/sdb1 mount/dev/sdb1/sdb1 view mount in directory sdb1 df-th mount-o-rw o is the specified option

Uninstall all Umount Mount Source-L force unload

Small white Python Road 11/3 Summary

Related Article

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.