Vi (Standard editor for UNIX and Linux systems)

Source: Internet
Author: User

VI is the standard editor for UNIX and Linux systems. Once you learn it, you will be in the world of Linux. Basically VI can be divided into three states, namely the command mode, insert mode, and the bottom line mode.

The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because the VI editor is exactly the same for any version of UNIX and Linux systems, you can learn more about it in any other place where VI is introduced. VI is also the most basic text editor in Linux, after learning it, you will be in the world of Linux unimpeded.

Basic ConceptsEditBasically, vi can be divided into three states, namely command mode, insert mode (and bottom line mode), and the function of each mode is as follows:1) Command modecontrols the movement of the screen cursor, the deletion of characters, words, or lines, moves the copied section and enters insert mode, and bottom line mode. 2) Insert modeonly in the Insert mode, you can do text input, press ESC to return to command mode. 3) Bottom line modeSave or Exit VI, or you can set the editing environment, such as finding a string and listing line numbers. However, we generally simplify the use of VI into two modes, that is, the bottom row mode is also counted in the command mode. For details, please see Baidu Encyclopedia: Http://baike.baidu.com/subview/27682/6112795.htm#1

Vi (Standard editor for UNIX and Linux systems)

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.