比较两个字符串是否相等的办法是: if [ "$test"x = "test"x ]; then if [ "$test"x = "test"x ]; the 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交