for (( i=1i<=9i++ ))
do
for (( j=1j<=9j++ ))
do
[ $j -le $i ] && echo -n "${i}*${j}=$((i*j)) "#判谨弯断j是否小于i,当j大于i时不输出樱培,输出不换行,末尾加一脊晌唯个制表符
done
echo "" #输出一个换行符
done
#!/嫌祥李芹迟宴闷bin/bashfor var1 in {00..99}
do
useradd student$var1
touch /home/student$var1/aa.txt
done
#!/拍搜戚纤bin/bashj=0
for ((i=1i<袭仔历=100i++))
do
j=$[$i+$j]
done
echo $j
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)