Found a swap file by the name ".hello.s.swp" owned by: root dated: Wed May 10 21:51:42 2023 file name: ~root/hello/hello.s modified: YES user name: root host name: ecs-miguel process ID: 2692 While opening file "hello.s" CANNOT BE FOUND (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 hello.s" to recover the changes (see ":help recovery"). If you did this already, delete the swap file ".hello.s.swp" to avoid this message.
时间: 2023-06-16 21:04:23 浏览: 288
iam.rar_ACMD_connectedrl2_http://679a:li.com_系统/网络安全
这个错误提示是在使用 Vim 编辑器时出现的,它告诉你 Vim 发现了一个名为 ".hello.s.swp" 的临时交换文件,这个文件是由另一个进程创建的,并且正在编辑同一个文件 "hello.s"。因此,你需要注意不要在不同的编辑器实例中使用同一个文件,以避免出现同步问题。你可以选择退出编辑器,或者谨慎处理,或者尝试使用 ":recover" 或 "vim -r hello.s" 命令来恢复文件编辑进程中的更改。如果你已经尝试过恢复了,那么可以删除 ".hello.s.swp" 临时文件来避免这个错误提示。
阅读全文