linux下Found a swap file by the name解决

转自:linux下Found a swap file by the name解决

vim编辑文件时提示 Found a swap file by the name ……
.swp文件是在vi编辑文件时产生的一个临时文件,在编辑过程中过一段时间自动保存一次。如果意外退出,比如在vi编辑文件过程中退出系统(意外关机、直接关闭了Shell终端等情况),该文件就会存在,下次打开上次编辑的文件时就会出现提示。
.swp文件使用ls命令查看不能发现,使用ls -a命令查看可以知道这是一个隐藏文件。
解决方案:如果临时文件是我们需要的文件,则使用vim -r filename或按提示进行修复;如果不需要临时文件,则直接删除即可。

提示:

如果vim 打开文件后好像卡住了,不用慌张,这可能是文件内容太大,无法立刻从磁盘加载完毕,需要一段加载的时延。
————————————————
版权声明:本文为CSDN博主「_compiling」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/brink_compiling/article/details/79769579

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
OVERVIEW 010 Editor is a professional text and hex editor containing a whole range of editing and analysis tools. Hex editors are used to edit the individual bytes of binary files,and advanced hex editors such as 010 Editor can also edit hard drives, floppy drives, memory keys, flash drives, CD-ROMs, processes, etc. 010 Editor can open files of any size instantly, and features unlimited undo and redo on all editing operations. Powerful tools are available for binary files including binary compares, check sum/hash algorithms, mathematical operations, import/export, find/replace, base converters, plus many more. One of the most powerful features of 010 Editor is the ability to parse a binary file using a Binary Template. A Binary Template is similar to a C/C++ structure but may contain if statements, for statements, functions, or expressions. Using a Binary Template, a file can be more easily understood as a number of variables than viewing the raw hex bytes. For an example of using Templates, run 010 Editor and open any BMP, ZIP, or WAV file on your computer. WHAT'S NEW : Fixed crash on exit on some Mac OS X machines. Fixed problem opening processes on 64-bit Windows. Made the color of the Startup page darker (was too bright on some monitors). Can now change or reset the color of the Startup page by clicking the 'Options' button on the Startup page. Fixed some issues using some IME's with the hex editor. Fixed bytes not being swapped correctly when printing and swap by group is enabled.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值