Linux E325: ATTENTION Found a swap file by the name “./.backu.sh.swp“

 
 

在vi编辑时遇到:
    E325: ATTENTION Found a swap file by the name "./.backu.sh.swp"错误代码。
    原因是上次编辑的时候,卡了或者别的原因ctrl + c强制退出了。下次进来Linux还是默认进入这个上次强制退出的文件,所以报错。
     解决方法
      用ls -a命令查看,直接把副本.swp文件删掉即可,然后重新编辑原文件。

猜你喜欢

转载自blog.csdn.net/publicstaticfinal/article/details/119116899