だいたい bash 1000 回繰り返しつつ 100 回ごとに回数表示 for i in $(seq 1 1000); do if (( $i % 100 == 0 )); then echo $i; fi done