JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

E325: ATTENTION Found a swap file by the name "/etc/ssh/.sshd_config.swp"

发布时间 2023-05-02 20:44:32作者: 数星观月

今天使用vim /etc/ssh/.sshd_config命令报下面这个错误

 查询后发现是上次修改内容没有保存,意外退出造成的,生成了一个.swp文件。我按了一下回车就回到编辑页面了,没有保存上次的编辑。其他解决方法还原上次编辑结果,使用命令vim -r 文件名 命令恢复上次编辑结果,使用 rm -f xx.swp 删掉这个备份文件。

    本栏目推荐文章
  • 【Leetcode1949. 坚定的友谊】使用MySQL在无向图中寻找{"CompleteTripartite", {1, 1, 3}}这个pattern
  • Python中出现"No module named 'requests'"的图文解决办法
  • 在Windows上出现"localhost拒绝连接”的问题
  • "nginx.conf" E514 : write error (file system full?)
  • 加了@SessionAttributes("uid")退出登陆后如何清除session
  • ROS2 删除一个工作空间文件夹,source后终端出现not found ...... local_setup.bash解决
  • cdn引入vue后报错无法识路径 Uncaught TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../".
  • jni Exception in thread "main" java.lang.UnsatisfiedLinkError:
  • [Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".
  • [转帖]京东大佬细说:Nginx反向代理时保持长连接,看完直呼"学到了!"
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们