centos 6.5 编辑网卡时报错Found a swap file by the name ".ifcfg-eth0.swp"

centos 6.5 编辑网卡时报错Found a swap file by the name ".ifcfg-eth0.swp"

  由于临时退出或以外出现的情况,使其产生了一个 .ifcfg-eth0.swp 的隐藏文件,在当前的目录下

只需将改文件删除就好

1.命令   ls -a 可以查询出隐藏的文件,代表显示所有文件

2.然后通过 rm -r  .ifcfg-eth0.swp 即可,再次编辑时就不会再出现该问题了

posted on 2020-08-04 21:51  arsn  阅读(564)  评论(0编辑  收藏  举报

导航