vi编辑器是linux的文本编辑器,在linux系统中使用非常广泛。 很多朋友在打开vi编辑器时提示e325: attention错误。 这种情况下该怎么办? 秋季网Qiutian.ZqNF.Com短篇介绍了linux在打开vi编辑器时如何解决e325:attention。
打开vi编辑器时出现以下提示时请不要着急
e325 :认证
foundaswapfilebythename“/etc/. profile.SWP”
owned by :根数据: wed jul 14103360013360102010
文件名称:/etc/profile
修改:是
username:root hostname:Zhao yang-laptop
进程id:1934
while操作文件“/etc/profile”
dated:thu apr 29203360183360302010
)1) anotherprogrammaybeeditingthesamefile。
if this is the case,be careful not to end up with two
differentinstancesofthesamefilewhenmakingchanges。
quit,or continue with caution。
)2) aneditsessionforthisfilecrashed。
if this is the case,use ":recover " or " vim-r/etc/profile "
torecoverthechanges (see“:帮助恢复”)。
if you did this already,deletetheswapfile“/etc/. profile.SWP”
待办事项消息。
“/etc/profile”28线,497字符
pressenterortypecommandtocontinue
e325:attentionfoundaswapfilebythename“/etc/. profile.SWP " owned by:root dated:wed jul 14103360013360102010 filename profile modified:yesusername:root hostname:zhard ile“/etc/profile”dated:thu apr 29203360183360302010 (1) anotherprogrammaybeeditingthesamefile.ifthisisthecase, becarefulnottoendupwithtwodifferentinstancesofthesamefilewhenmakingchanges.quit, orcontinuewithcaution.(2) aneditsessionforthisfilecrashed.ifthisisthecase,use“: recover”or“vim-r/etc /性能分析deletetheswapfile“/etc/. profile.SWP”toavoidthismessage .“/etc/profile”28 lines,497wrdeeady
按回车进入vi编辑器。 输入: q! 退出vi编辑器,在终端上键入rm -f /etc/.profile.swp返回汽车,然后再次进入vi编辑器时,注意到以前的提示已消失。
以上是有关在linux上打开vi编辑器时的提示e325:attention错误解决的介绍。 yednp在遇到此问题时按照文中的步骤处理,提示会消失。