摘要: shell脚本报错:"[: =: unary operator expected" 在匹配字符串相等时,我用了类似这样的语句: if [ $STATUS == "OK" ]; then echo "OK" fi 在运行时出现了 [: =: unary operator expected 的错误,就一 阅读全文
posted @ 2017-10-13 14:33 有肉的三明治 阅读(5892) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/u012486840/article/details/53161555 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.s 阅读全文
posted @ 2017-10-13 09:24 有肉的三明治 阅读(288) 评论(0) 推荐(0) 编辑