cent0s 8 会报错 Error: Failed to synchronize cache for repo ‘AppStream’ mv CentOS-AppStream.repo Cen…
syntax error near unexpected token 'fi'
用vim打开文件,在命令行模式下输入 发现出来的是dos 现在通过命令:set ff=unix设置我们的代码模式 然后保存代码
centos7 connect to address : No route to host问题解决
systemctl stop firewalld.servicesystemctl stop iptables.service 一般是防火墙问题,关闭防火墙和 iptable
根据文件节点号删除文件
主要解决文件名错乱的处理 ls -i //列出文件节点 find ./ -inum XXX(节点号) -print -exec rm -rf {} ; //删除节点号文件 删除文件请慎重别敲错字符了 建议重命名比较好 重…