Home  >  Article  >  Operation and Maintenance  >  What does vi mean in linux?

What does vi mean in linux?

藏色散人
藏色散人Original
2019-05-17 19:37:0918820browse

Vi is the standard editor under Unix and Linux systems. It was founded by Bill Joy of the University of California, Berkeley. Basically vi can be divided into three states, namely command mode, insert mode, and bottom line mode. Vi is the most basic text editor in Linux. After learning it, you will have no trouble in the Linux world.

What does vi mean in linux?

Basically vi can be divided into three states, namely command mode, insert mode and last line mode. The functions of each mode are distinguished as follows:

1) Command mode

Control the movement of the screen cursor, delete characters, words or lines, move and copy a section and enter insert mode , in bottom row mode.

2) Insert mode

Only in insert mode, text input can be done. Press the ESC key to return to the command mode.

3) Last line mode

Save the file or exit vi, you can also set the editing environment, such as searching for strings and listing line numbers.

However, generally when we use vi, we simplify vi into two modes, that is, the bottom line mode is also included in the command mode.

The above is the detailed content of What does vi mean in linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn