/bin/bash for ((i=1;i<=9;i++));do for ((a=1;a<=i;a++));do echo -n -e "$i*$a="$[ $i * $a ]" "\t" done echo done