#!/usr/bin/env bash
##计算##
result=`expr 2 - 100`
echo "$result"
result1=$((5+5))
echo "$result1"
result2=$[5+4]
echo $result2
let result3=2+4
echo $result3
for var in 1 2 3 4 5 6 7 8 9
do
echo "then is number is $var"
done
for var1 in {10..19}
do
echo "then is number is $var1"
done
for var2 in `seq 20 28`
do
echo "then is numver is $var2"
done
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。