The first step is to open the terminal
Create File command touch file name. suffix
Open File command vi file name. suffix name (after entering TXT file for general mode, you cannot add and revise files) after pressing I or a or O can be inserted a little bit different, not to mention
Exit Edit mode ESC (you can enter a command after exiting)
Copy the previous line yy or y number y from the first few lines to the first line
Paste P
Undo Previous Action U
Delete a line dd d number d remove cursor after how many lines with cursor
X equals backspace key
YW copy a word
DW Delete a Word
Shift +^ moving to the head
Shift +$ moves to the end of the line
Shift +g to the tail of the page
Number +shift+g move to the first line
Save File: W
Save exit: Wq
Exit: Q
Forced exit:!
/find/searched word n is find Next, shift +n is looking up
? Find? The searched word n is to find the previous, shift +n is looking down
Basic knowledge points of the text editing of Linux