中间的图片传不上,不知道怎么回事
中间的语言复制过去后,怎么才能关闭呢?快捷键关闭还是直接点击叉号关闭?
E325: 注意
发现交换文件 "/etc/docker/.daemon.json.swp"
所有者: root 日期: Wed Aug 16 22:34:00 2023
文件名: /etc/docker/daemon.json
修改过: 是
用户名: root 主机名: cyz-PC
进程 ID: 66489
正在打开文件 "/etc/docker/daemon.json"
CANNOT BE FOUND
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
如果是这样,请用 ":recover" 或 "vim -r /etc/docker/daemon.json"
恢复修改的内容 (请见 ":help recovery")。
如果你已经进行了恢复,请删除交换文件 "/etc/docker/.daemon.json.swp"
以避免再看到此消息。
交换文件 "/etc/docker/.daemon.json.swp" 已存在!
"/etc/docker/daemon.json" [新文件]
已中断: 请按 ENTER 或其它命令继续
中间的语言复制过去后,怎么才能关闭呢?快捷键关闭还是直接点击叉号关闭?
你指的是关闭vim吗?
按esc,输入:wq再回车
有个直接编辑
你指的是关闭vim吗?
应该是。就是复制完东西,关闭出来的那个屏幕
按esc,输入:wq再回车
我的电脑好像完全没反应
改成这样了,按esc完全没反应
就是在这个页面,按esc没反应,也不知道去哪里输入wq
按右上的“叉号”就变成了这样了(为什么说我截屏上传的图片违规,我知道为什么我上传不了那些图片了)
按esc,再按 :wq
不懂vi的话,你可以输入
cat > /etc/docker/daemon.json
再粘贴内容(我一般是按 Shift + Insert)
再按 ctrl + C (还是Z,忘记了)
就是在这个页面,按esc没反应,也不知道去哪里输入wq
按esc键,然后依次输入: w q
:wq会显示在左下角。然后回车就保存并退出了。
先linux入了门,再学docker。
上来就学docker 顺序反了。
先linux入了门,再学docker。
上来就学docker 顺序反了。
受教
百度一下 vim使用教程
花一点点时间学习一下就好了。
不想学VIM就换一个命令把VIM换成其他你电脑里有的文本编辑器
我终于知道怎么回事了,需要按四个按键,分别是esc和:和w和q,我没有按:这个键,所以无法退出。这么简单的事情搞这么麻烦!确实需要学习,记住!
还是要学习,进入编辑都是一个问题
还是要学习,进入编辑都是一个问题
我之前和你一样不会退出vim,后来也是看别人的教程才学会的
Popular Ranking
ChangePopular Events
More
小弟碰到一个问题,恳请得到大神的解答!
sudo vim /etc/docker/daemon.json(输入后如图所示)
111111111
222222222
77777
7777
4444444