E325: ATTENTION ###请注意vim
Found a swap file by the name"/etc/.services.swp"session
#找到了一个临时文件/etc/.services.swpide
owned by: root dated: Thu Aug 1011:23:38 2017ui
filename: /etc/servicesthis
modified: nospa
username: root host name: oldboyedu39blog
process ID: 42359 (still running)get
While opening file "/etc/services"it
dated: Wed Aug 9 11:38:27 2017io
(1) Another program may be editing the samefile. If this is the case,
becareful not to end up with two different instances of the same
file whenmaking changes. Quit, or continue withcaution.
(2) An edit session for this file crashed.
If thisis the case, use ":recover" or "vim -r /etc/services"
torecover the changes (see ":help recovery").
If youdid this already, delete the swap file "/etc/.services.swp"
to avoidthis message.
Swap file "/etc/.services.swp" alreadyexists!
#找到一个/etc/.services.swp临时文件
#请问要如何处置
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit,(A)bort:
(E)ditanyway继续编辑原文件,忽略刚刚醉的修改
R)ecover根据临时文件恢复我刚刚编辑的内容
解决:[root@oldboyedu39 ~]# \rm rf /etc/.services.swp