- 论坛徽章:
- 0
|
[root@localhost etc]# vi proftpd.conf
//会出现:
E325: ATTENTION
Found a swap file by the name ".proftpd.conf.swp"
owned by: root dated: Tue Nov 10 17:42:38 2009
file name: /etc/proftpd/etc/proftpd.conf
modified: no
user name: root host name: localhost
process ID: 11195
While opening file "proftpd.conf"
dated: Tue Nov 10 18:32:16 2009
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 proftpd.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".proftpd.conf.swp"
to avoid this message.
"proftpd.conf" 66L, 1934C
//如何解决呢?,执行删除文件,在当前路径下是查不到.proftpd.conf.swp这个文件的,执行命令就好了
[root@localhost etc]# rm .proftpd.conf.swp
rm: remove regular file `.proftpd.conf.swp'? y
再VI 就OK
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/105400/showart_2091078.html |
|