When you cannot mount remotely, you can use vim to edit simple text files.
Frequently used commands:
1. Use the arrow keys to move the cursor to the position you want to edit;
2. Press i to enter insert mode;
3. After editing, press esc to exit insert mode;
4. Use: wq to save and exit.
More detailed commands can refer to:
https://blog.csdn.net/weixin_37657720/article/details/80645991
没有评论:
发表评论