标签:ready attention ssi careful continue content wap proc sage
<span style="font-family:SimSun;color:#ffffff;background-color: rgb(0, 0, 0);">E325: ATTENTION Found a swap file by the name ".ceshi.c.swp" owned by: root dated: Sat Jul 4 19:51:46 2015 file name: /c/ceshi.c modified: YES user name: root host name: c66-WR process ID: 2801 While opening file "ceshi.c" dated: Sun Jul 5 12:38:54 2015 NEWER than swap file! (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. If this is the case, use ":recover" or "vim -r ceshi.c" to recover the changes (see ":help recovery"). If you did this already, delete the swap file ".ceshi.c.swp" to avoid this message. Swap file ".ceshi.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit:</span>
rm .{your file name}.swp
比如:我的文件名称是ceshi.c 那么就用这种命令:rm .ceshi.c.swp (当然你前面也能够加-rf强制删除)
问: (vi 一个文件时怎么样能够不让它产生.swp文件?或不让他提示【“Swap file ".文件名称.swp" already exists![O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit:】)
处理方法: 打开 vi /etc/vimrc 并在末尾加入 set noswapfile 后保存退出 OK
解决Swap file ".ceshi.c.swp" already exists!问题
标签:ready attention ssi careful continue content wap proc sage
原文地址:http://www.cnblogs.com/yfceshi/p/7337344.html