#!/bin/bash#100以内假发declare -i i=0declare -i sum=0while [ $i -le 100 ];do sum+=$i let i=i+1doneecho $sum