脚本文件写法
#!/bin/bash
#
#-------------------------------------------
# Version: ? 1.0
# Date: 2021/4/8
# Author: wangxinggang
# Email: 455434332@qq.com
# Description: This is the first script
# License: GPL
# ------------------------------------------
for i in {1..9};do
for j in `seq $i`;do
let result=$[i*j]
echo -e "${j}x${i}=$result\t\c"
done
echo
done
写完执行效果