CentOS VI copy Delete cut paste command

Source: Internet
Author: User

Copy:

YY: Copy when moving forward

Nyy: The number of rows copied (with the current row). Assuming that you copy 3 rows, the mouse is positioned in the 1th row, and the input 3yy copies the contents of the rows.

Copy multiple lines in another way: (Start line, end Line Co sticky position) way, such as copy the contents of the row to paste after 9 lines, Command mode input: 3,5 CO 9


Delete:

DD: Delete When moving forward

NDD: Delete multiple lines, same as copy

Delete multiple lines in another way: (Start line, end Line de) in the way, for example, delete the row, command mode input: 3,5 de

Shear:

Shear principle and delete, are used d,dd,ndd, in fact, after the Linux deleted content is placed in the buffer, press p can be pasted.


Sticky stickers:

P


CentOS VI copy Delete cut paste command

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.