Linux启动vi编辑器时提示E325: ATTENTION怎么办?

2016-02-19 10:41 33 1 收藏

今天图老师小编要向大家分享个Linux启动vi编辑器时提示E325: ATTENTION怎么办?教程,过程简单易学,相信聪明的你一定能轻松get!

【 tulaoshi.com - Linux教程 】

Vi编辑器是Linux的文本编辑器,在Linux系统的运用非常广泛,不少朋友在打开Vi编辑器的时候提示E325: ATTENTION错误,遇到这种情况该怎么办吗?下面图老师小编就给大家介绍下Linux打开Vi编辑器时提示E325:ATTENTION的解决方法。

 Linux启动vi编辑器时提示E325: ATTENTION怎么办?

当打开Vi编辑器时出现以下的提示时不要着急

E325: ATTENTION

Found a swap file by the name /etc/.profile.swp

owned by: root dated: Wed Jul 14 10:01:10 2010

file name: /etc/profile

modified: YES

user name: root host name: zhaoyang-laptop

process ID: 1934

While opening file /etc/profile

dated: Thu Apr 29 20:18:30 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 /etc/profile

to recover the changes (see :help recovery)。

If you did this already, delete the swap file /etc/.profile.swp

to avoid this message.

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com)

/etc/profile 28 lines, 497 characters

Press ENTER or type command to continue

E325: ATTENTIONFound a swap file by the name /etc/.profile.swp owned by: root dated: Wed Jul 14 10:01:10 2010 file name: /etc/profile modified: YES user name: root host name: zhaoyang-laptop process ID: 1934While opening file /etc/profile dated: Thu Apr 29 20:18:30 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 /etc/profile to recover the changes (see :help recovery)。 If you did this already, delete the swap file /etc/.profile.swp to avoid this message./etc/profile 28 lines, 497 charactersPress ENTER or type command to continue

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com)

我们按回车进入vi编辑器输入:q!退出vi编辑器,在终端输入rm -f /etc/.profile.swp回车,再一次进入vi编辑器发现以前的提示消失。

上面就是Linux打开Vi编辑器时提示E325:ATTENTION错误解决的相关介绍了,当你遇到这个问题的时候按照文中的步骤进行处理,提示就能消失了。

来源:https://www.tulaoshi.com/n/20160219/1595478.html

延伸阅读
标签: 电脑入门
TWiki是一款多功能的wiki程序,需要运行于Perl环境,Linux系统中,TWiki在安装LDAP时提示错误,遇到这种情况该如何解决呢?下面图老师小编就给大家介绍下Linux TWiki安装LDAP提示错误的解决方法。 TWiki中安装LDAP出现报错,如下: [Mon Dec 15 09:40:17 2014] [error] [client 172.17.60.125] [Mon Dec 15 09:40:17 2014] view...
word公式编辑器使用视频 打开文档 1、打开Word文档,单击“插入”→“文本”→“对象”。 找到对象 2、在“对象”栏内拖动滑块找到“Microsoft公式3.0”选中并按“确定”。 填写公式 3、这时候就会弹出公式编辑器了,我们就可以填写了,如图所示。 相关阅读: 怎么使用word制作标题折叠
wps公式编辑器怎么用   在使用wps编辑文件时会遇到输入各种各样复杂的数学或者化学公式,如果用手输入估计绝大多数都不会,其实wps自带公式编辑器,我们只需打开公式面板即可轻松输入,下面来教大家wps公式编辑器怎么用。 1.单击进入插入选项卡,在符号选项组中选择公式按钮;如果公式为灰色的话可以单击插入菜单中的对象命令,从...
wps公式编辑器怎么用?   单击进入插入选项卡,在符号选项组中选择公式按钮; 在弹出的公式编辑器对话框中输入你想要的公式符号; 输入完公式后单击文件中的退出并返回到 文档按钮; 此时,刚才输入的公式就已经嵌入到了WPS文档中来了。 wps怎么调整行距?   选中要改变行距的文字,点击鼠标右键,...
捷速PDF编辑器怎么用 首先,我们需要在电脑中下载安装捷速PDF编辑器,网络上有很多下载资源,大家可以进行下载,大家也可以进入捷速PDF编辑器官网进行下载。 第二步,打开安装好的捷速PDF编辑器,点击文件打开,在打开的窗口中找到要修改的pdf文件,然后点击打开按钮将其添加到软件中。 第三步,pdf文件添加完成后,大家可以...

经验教程

204

收藏

71
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部