当前位置: 技术问答>linux和unix
lunix VI问题
来源: 互联网 发布时间:2016-09-26
本文导语: 我vi了一个文件,可是我没退出也没保存就按了ctrl+Z,一下子文件就没了,然后我又执行了一次vi,现在只有 E325: ATTENTION Found a swap file by the name ".iptables_new.sh.swp" owned by: root dated: Tue Sep 7 10:21:...
我vi了一个文件,可是我没退出也没保存就按了ctrl+Z,一下子文件就没了,然后我又执行了一次vi,现在只有
E325: ATTENTION
Found a swap file by the name ".iptables_new.sh.swp"
owned by: root dated: Tue Sep 7 10:21:18 2010
file name: /usr1/usr1/iptables/iptables_new.sh
modified: no
user name: root host name: linux
process ID: 9226 (still running)
While opening file "iptables_new.sh"
dated: Tue Sep 7 09:11:07 2010
(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 iptables_new.sh"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".iptables_new.sh.swp"
to avoid this message.
Swap file ".iptables_new.sh.swp" already exists!
Hit ENTER or type command to continue
高手帮下忙哇,小弟这里谢谢了
E325: ATTENTION
Found a swap file by the name ".iptables_new.sh.swp"
owned by: root dated: Tue Sep 7 10:21:18 2010
file name: /usr1/usr1/iptables/iptables_new.sh
modified: no
user name: root host name: linux
process ID: 9226 (still running)
While opening file "iptables_new.sh"
dated: Tue Sep 7 09:11:07 2010
(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 iptables_new.sh"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".iptables_new.sh.swp"
to avoid this message.
Swap file ".iptables_new.sh.swp" already exists!
Hit ENTER or type command to continue
高手帮下忙哇,小弟这里谢谢了
|
ctrl-z 是发送 SIGSTOP信号 挂起一个进程