When editing an .ini file on a linux server, it gets stuck and when you close the connection tool and re-enter to work on the .ini file, you are prompted.
Found a swap file by the name “.xxx.ini.swp”
(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 other.conf”
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “.other.conf.swp”
to avoid this message.
Swap file “.xxx.ini.swp” already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:
Execute the following command in the directory where the file is located.
Check the hidden files in the current directory and find the .xxx.ini.swap file
Delete the file by executing the delete command
rm -rf .xxx.ini.swap
Execute vim xxx.ini again and you will not be prompted.
- Linux Files Save Error: E325: ATTENTION [How to Solve]
- [Solved] Working copy locked occurs when SVN commit
- FTP delete the directory and files, and there is a file deletion prompt under the directory [550 remove directory operation failed.]
- k8s Error: [ERROR FileAvailable–etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
- [Solved] Compile Error: virtual memory exhausted: Cannot allocate memory
- Bash Shell: Check File Exists or Not [How to Do]
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- [Solved] docker info Check Error: WARNING: No swap limit support
- [Solved] Mybatis Error: Invalid bound statement (not found)
- [Solved] Springboot Project mybatis Error: Invalid bound statement (not found)