打开vi编辑器出现E325: ATTENTION的解决方法
来源:互联网 发布:乐乎青年公寓联系电话 编辑:程序博客网 时间:2024/06/05 18:30
当打开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.
"/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
我们按回车进入vi编辑器输入:q!退出vi编辑器,在终端输入rm -f /etc/.profile.swp回车,再一次进入vi编辑器发现以前的提示消失。
===================
总结一下:可以分2部简单的操作:(1)ls -a 列举所有的内容 (2)rm对应的.swp文件。
- 打开vi编辑器出现E325: ATTENTION的解决方法
- vi编辑时出现E325:ATTENTION
- E325: ATTENTION while vi
- Linux vim编辑器打开文件警告E325: ATTENTION解决
- #VI /etc/fstab E325: ATTENTION
- E325:ATTENTION
- E325:ATTENTION
- 原创:E325- ATTENTION vim超完整超给力的问题与解决方法
- 原创:E325- ATTENTION vim超完整超给力的问题与解决方法
- mac命令行:E325: ATTENTION
- git下拉项目出现的问题:E325: ATTENTION Found a swap file by the name “.git/.COMMIT_EDITMSG.swp”
- redhat9.0打开vi编辑器出现乱码
- 【解决方法】Ubuntu文本编辑器gedit打开中文出现乱码的
- centos使用vim命令出现E325错误解决方法
- LINUX中的".c”文件用vi打开后出现好多^M的解决方法
- centos 打开配置文件出错:E325: ATTENTION Found a swap file by the name "/etc/vsftpd/.vsftpd.conf.swp"
- 在redhat linux中实用vi编辑器出现乱码解决方法
- E325: ATTENTION Found a swap file
- 中科院&上海远丰达成战略合作 共同推进中国电商发展
- Eclipse中关联support源码
- 【网络协议】互联网协议入门(一)
- 初学ios的一些笔记
- 从item-base到svd再到rbm,多种Collaborative Filtering(协同过滤算法)从原理到实现
- 打开vi编辑器出现E325: ATTENTION的解决方法
- 给控件设置text时错误
- 温湿度传感器调研报告
- python缩进风格 tab和空格
- jQuery Backstretch动态设置背景图片插件
- hibernate查询某一个对象后,执行createSQLQuery查询出现的问题
- 众好慌吃犯zvwci
- 关于C语言中的强符号、弱符号、强引用和弱引用的一些陋见,欢迎指正
- Java 异步线程FutureTask的使用和SwingWorker