Linux Command —-— VI Editor

Source: Internet
Author: User

The VI editor is most frequently used in Linux, and is divided into three working modes: Command mode, input mode, and last line mode, and operation commands are not the same in each working mode.

Command mode to enter after opening a file with VI

  1. Switching between three modes

    In the command mode, the use of a, I, O and other keys can quickly enter the input mode, press: Key to enter the last line mode, in the input mode or the last line mode to return to the command mode press ESC,

    650) this.width=650; "style=" float:left; "src=" http://s2.51cto.com/wyfs02/M02/79/40/wKioL1aMu_ Bcroauaadk1blsnu0048.jpg "title=" 1.jpg "alt=" Wkiol1amu_bcroauaadk1blsnu0048.jpg "/>


  2. Basic Operations in command mode

    650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M01/79/42/wKiom1aMwezRxTUOAAF73E9f0Q0961.jpg "title=" 2.jpg " alt= "Wkiom1amwezrxtuoaaf73e9f0q0961.jpg"/>

    650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/79/41/wKioL1aMwiaDidpzAAFm1BOyHnw188.jpg "title=" 3.jpg " alt= "Wkiol1amwiadidpzaafm1boyhnw188.jpg"/>

    650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/79/42/wKiom1aMwhCCzgWMAACwatVAWPE050.jpg "title=" 4.jpg " alt= "Wkiom1amwhcczgwmaacwatvawpe050.jpg"/>

    650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/79/41/wKioL1aMwkbTBKQFAACqTbh8T18811.jpg "title=" 5.jpg " alt= "Wkiol1amwkbtbkqfaacqtbh8t18811.jpg"/>

Linux command —-— VI editor

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.