背景
在终端使用命令打开sudo vim ~/.bash_profile 报错E325: ATTENTION Found a swap file by the name “.bash_profile.swp“ 问题分析
这是由于在编辑该文件的时候异常退出了,因为vim在编辑文件时会创建一个交换文件swap file以保证文件的安全性 …
错误说明
是非正常退出了vim,导致的错误
错误展示
E325: ATTENTION
Found a swap file by the name "~/.local/share/nvim/swap//%home%linux%lesson9%myproc.cc.swp"owned by: file name: modified:user name: process ID: 7634 (STILL RUNNING)
…
错误信息
Found a swap file by the name Another program may be editing the same file. If this is the case... An edit session for this file crashed [O]pen Read-Only, (E)dit anyway, (R)ecover,(Q)uit,(A)bort 发现交换文件 .swp 原因解释
1、当一个文本文件有其他…
当用Vim编辑一个文件时出现下列错误 [rootzabbix ~]# vim /usr/local/msmtp/etc/msmtprc E325: ATTENTION Found a swap file by the name "/usr/local/msmtp/etc/.msmtprc.swp" owned by: root dated: Thu May 22 15:47:09 2014 file name: /usr/local/msmtp/etc/m…
当打开Vi编辑器时出现以下的提示时不要着急 E325: ATTENTION Found a swap file by the name "/etc/.profile.swp" owned by: root dated: Wed Jul 14 10:01:10 2010 file name: /etc/profile modified: YES user name: root host name: zhaoyang-laptop process I…