删除Linux系统下的ifcfg-eth0.bak

有时咱们在克隆Linux虚拟机后会发现系统多出来ifcfg-eth0.bak的文件,那么如何才能够清除掉呢?ide

 1.删除devices目录下的ifcfg-eth0.bakip

[root@localhost ~]#cd /etc/sysconfig/networking/devices/虚拟机

[root@localhost ~]#rm -rf ifcfg-eth0.bakit

 

 2.删除default目录下的ifcfg-eth0.bakclass

[root@localhost ~]#cd /etc/sysconfig/networking/profiles/default/file

[root@localhost ~]#rm -rf ifcfg-eth0.baknetwork

 

3.删除network-scripts目录下的ifcfg-eth0.bakdi

[root@localhost ~]#cd /etc/sysconfig/network-scripts/文件

[root@localhost ~]#rm -rf ifcfg-eth0.bakview

相关文章
相关标签/搜索