· The important principle of Linux design is that information is stored in text-based files
Text file: Unformatted file, function similar to win's registry (etc under Configuration file,. conf or no extension) Extensible Markup Language (XML), text tag definition data structure (etc and USR under application configuration file)
Pros: Move and share between systems no conversion format is required and can be viewed and edited by any text editor
• Text Editor
VI Editor: Early use of Linux and UNIX systems editor
Vim Editor: VI's upgraded version, with higher availability and efficiency
Includes advanced features such as split-screen editing, color formatting, and highlighting
• Working mode of the text editor
Command mode: Vim open the relevant configuration file, that is, to enter the command mode, can be copied delete paste and other operations
Insert mode: Press A, I, O and other keys into the insert mode, you can modify the body, or add new content (the page will show the--insert--status prompt information)
Last line mode: Press: Key to enter, you can set the editing environment, save, exit, find, replace the content, etc. (the page will be displayed: status prompt information)
Note: The above is commonly used
Visual mode: Press V to enter, where you can select more than one character for text operation, using CTRL + V, v.
Common operations:
Linux Vim Operation Tips