📅  最后修改于: 2022-03-11 14:50:33.655000             🧑  作者: Mango
代码示例1
# short if codition
[ $(( 2 + 2 )) -eq '4' ] && echo "yes"
# long if codition
if [ $(( 2 + 2 )) -eq '4' ]
then
echo "yess"
fi