To facilitate Directory creation, use the dektop directory as the editing space to avoid confusion in other file directories.
Three VI modes:
- GENERAL: Open the document in normal mode. Press ESC to normal mode in other modes. Can be deleted, copied, or pasted.
- Command Line: Type 『:
/? You can move the cursor to the bottom line by clicking any of the three buttons. In this line, you can enter a command. You can search, read, save, replace, exit, and display the row number. For example, in normal mode, press: WQ to save and leave the VI editor. If the document permission is incorrect, for example,-r --
You may not be able to write data. You can use ": WQ! "Add an exclamation point to force the write!
- Edit mode: "I, I, O, O,
A, A, R, R 』
Key Description: http://vbird.dic.ksu.edu.tw/linux_basic/0310vi_2.php#vi_command
Go to the button.