vi editor

    1. Create text with vi command

    

    2. At this time, you cannot directly click the mouse to enter the text editing. You need to press one of the keys of i/o/a to enter the insert mode to edit the text.

    

    3. After editing, first press Esc to exit insert mode, then press :wq! to exit and save (:q! exit directly without saving)

    

    4. Use the cat command to view the content

    

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325189941&siteId=291194637