打开Vi编辑器出现E325: ATTENTION的解决方法

news/2024/10/22 16:27:53/

当打开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编辑器发现以前的提示消失。

原文:https://blog.csdn.net/github_27263697/article/details/80938242 


http://www.ppmy.cn/news/283543.html

相关文章

XC7K325T+TX2深度学习图像处理卡

XC7K325TTX2深度学习图像处理卡M/D-CAP3U是天津雷航光电科技有限公司推出的一款复合加速计算平台,由Xilinx的28nm制程的FPGA — XC7K325T-3FFG900I和NVidia的16nm制程的GPU — TX2互联构成。 产品细节 FPGA的前端接口 支持CameraLink Base输入1路 支持SD-SDI / HD-S…

基于Kintex-7 325T的32通道高速TDC演示方案

SeruTek K732D – 基于Kintex-7 325T的32通道高速TDC演示方案 请搜索“瑟如电子”了解详情 简介 SeruTek K732D是上海瑟如电子科技基于KC705开发板制作的一款32通道TDC演示方案。K732D在单片K7325T上集成了33路时间戳单元、一个Microblaze微控制器、128KB Block SRAM、自校…

python TypeError: %d format: a number is required, not str

记一次Python代码错误… 今天心血来潮,一个pymysql感觉不够我玩的(虽然我是菜鸡),想要研究研究Python MySQL连接池(典型的这山望着那山高),但是遇到一个错误 想了好久 百度了好久 最后发现是我对Python理解还是不够深(粗心)导致的. 全部报错: "D:\package install\Pyth…

视觉SLAM笔记(63) RGB-D 稠密建图

视觉SLAM笔记(63) RGB-D 稠密建图 1. 建立点云地图2. 点云地图3. 其他重建方法1. 建立点云地图 所谓点云,就是由一组离散的点表示的地图 最基本的点包含 x, y, z 三维坐标,也可以带有 r, g, b 的彩色信息 由于 RGB-D 相机提供了彩色图和深度图,很容易根据相机内参来计算 …

nyoj325 zb的生日(DFS)

题目325 题目信息 运行结果 本题排行 讨论区 zb的生日 时间限制: 3000 ms | 内存限制: 65535 KB 难度: 2 描述 今天是阴历七月初五,acm队员zb的生日。zb正在和C小加、never在武汉集训。他想给这两位兄弟买点什么庆祝生日&#x…

7K325T 引脚功能详解

本文针对7K325T芯片,详细讲解硬件连接需要注意的技术点,可以作为设计和检查时候的参考文件。为了方便使用,按照Bank顺序排列,包含配置Bank、HR Bank、HP Bank、GTX Bank、供电引脚等。 参考文档包括DS182、UG470、UG475、UG476等。…

FLT3_ITD分析

在约20%-30%的急性髓系白血病(acute myeloid leukemia,AML)患者中FLT3基因中外显子14和15存在内部串联重复(FLT3 in-tema]tandemduplication,FLT3-ITD) 突变插入的长度在15bp-300bp之间 使用pindel进行检测&#xff…

【03Eclipse 窗口说明】对每个窗口和视图的功能和用途的详细说明导航栏编辑器窗口项目资源管理器

Eclipse 窗口说明 简介 Eclipse 是一款功能强大的集成开发环境(IDE),提供了丰富的窗口和视图来支持开发工作。本教程将详细介绍 Eclipse 主要窗口和常见视图的功能和用途。 主要窗口 1. 导航栏 导航栏位于 Eclipse 窗口的顶部&#xff0…