Vi编辑器文件服务器冲突

时间:2014-05-20 14:19:43

标签: ubuntu vi

我正在使用这个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"

0 个答案:

没有答案