#!/bin/bash
for i in $(seq 1 100)
do
a=$[ $i%3 ]             #注: 在取余的时候 需要 运算  所以需要加运算符号 $[ ]
if [ $a -eq 0 ]; then
     echo "$i"
fi
done