1、切换到root用户权限
https://blog.csdn.net/attagain/article/details/11987297
2、结合sudo和tee两个命令来实现: w !sudo tee %
https://blog.csdn.net/weixin_39169700/article/details/79204353
1、切换到root用户权限
https://blog.csdn.net/attagain/article/details/11987297
2、结合sudo和tee两个命令来实现: w !sudo tee %
https://blog.csdn.net/weixin_39169700/article/details/79204353