编辑后我无法保存更改
sudo vi /etc/network/interfaces
Run Code Online (Sandbox Code Playgroud)
编辑前的文字:
auto lo
iface lo inet ...
Run Code Online (Sandbox Code Playgroud)
编辑为:
auto eth0
iface eth0 inet dhcp
Run Code Online (Sandbox Code Playgroud)
我必须按什么组合键或序列来保存它?
Édo*_*pez 127
您可能处于编辑/插入模式。您需要键入以下序列:
:(冒号)然后按w和最后q以瓦特仪式和q UIT(或只:w写不退出)小智 18
我通常按下ESC然后按住Shift并按下z两次。就像您想在 word 编辑器中输入两个大写 Z 字母一样 :) 这会保存您的文档并关闭您的编辑器。