Ubuntu 服务器中的Vi编辑器文件冲突

Ubuntu 服务器中的Vi编辑器文件冲突,ubuntu,vi,Ubuntu,Vi,我使用这个web服务器处理大数据项目。我开始在vi编辑器中编辑一个文件,但是在中间我遇到了这个问题文件冲突。在我注销并尝试再次登录后,我在服务器上发现了这条恼人的消息(我没有调用vi,但从那以后,出现了这条消息,并且在底部没有关于如何忽略或选择选项的说明..我尝试了从ESC到Ctrl+Z..没有任何效果)。你知道吗?谢谢对不起,我的问题是noob E325: ATTENTION Found a swap file by the name ".one.sql.swp" owned

我使用这个web服务器处理大数据项目。我开始在vi编辑器中编辑一个文件,但是在中间我遇到了这个问题文件冲突。在我注销并尝试再次登录后,我在服务器上发现了这条恼人的消息(我没有调用vi,但从那以后,出现了这条消息,并且在底部没有关于如何忽略或选择选项的说明..我尝试了从ESC到Ctrl+Z..没有任何效果)。你知道吗?谢谢对不起,我的问题是noob

   E325: ATTENTION
   Found a swap file by the name ".one.sql.swp"
   owned by: root   dated: Tue May 20 13:11:10 2014
   file name: /data/homedirs/user/one.sql
   modified: YES
   user name: root   host name: ip-10-95-174-216
   process ID: 22474 (still running)
   While opening file "one.sql"
   dated: Tue May 20 13:06:53 2014
   (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 one.sql"
    to recover the changes (see ":help recovery").
   If you did this already, delete the swap file ".one.sql.swp"
   to avoid this message.

   Swap file ".one.sql.swp" already exists!
   "one.sql" 387333L, 25083883C
   Using swap file ".The one.sql.swp"
   Original file "/data/homedirs/user/one.sql"

如果100%确定不再需要swp文件,请删除该文件。是。我不要这个文件。但是,每次我尝试使用ssh(使用私钥)登录服务器时,它都会将我重定向到该消息。。。你试过删除它吗:
rm.one.sql.swp
我试过写它,最后按回车键。但是,什么也没发生。登录到服务器后,我看不到正在键入的内容。。。ssh-i my_primary_key.pemusername@address .. 它只是显示了这条信息,没有任何东西可以从中得到。甚至没有中断(Ctrl+Z)请看这里: