#!/bin/shzero=0 status=1 let status=0 if [[ $status -eq $zero ]];then echo "bu >= 3.6"else echo ">= 3.6"fi 来源:https://www.cnblogs.com/sea-stream/p/11645112.html 标签 equal shell