这里以40s为例
#!/bin/bash
echo Count:
tput sc
#循环40秒
for count in `seq 0 40`
do
tput rc
tput ed
echo -n $count
sleep 1
done
原文链接:https://blog.csdn.net/u011956367/article/details/90676313
这里以40s为例
#!/bin/bash
echo Count:
tput sc
#循环40秒
for count in `seq 0 40`
do
tput rc
tput ed
echo -n $count
sleep 1
done
原文链接:https://blog.csdn.net/u011956367/article/details/90676313