- 论坛徽章:
- 0
|
我用vi 编辑文件过程中我强制关闭编辑窗口,于是出现了问题,如
# Create swap file by the name ".mrtg.cfg.swp"
owned by: root dated: Sat May 6 12:28:55 2006
file name: /var/www/html/mrtg/mrtg.cfg
modified: YES
user name: root host name: ujstest
process ID: 4766
While opening file "mrtg.cfg"
dated: Sat May 6 15:20:32 2006
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 mrtg.cfg"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".mrtg.cfg.swp"
to avoid this message.
"mrtg.cfg" 27L, 538C
Hit ENTER or type command to continue
请问怎么样才能恢复文件? |
|