显示进度条(回旋镖版)

显示进度条(回旋镖版)

#!/bin/bash
while :
do
clear
for i in {1..20}
do
echo -e "\033[3;${i}H*"
sleep 0.1
done
clear
for i in {20..1}
do
echo -e "\033[3;${i}H*"
sleep 0.1
done
clear
done
发布了190 篇原创文章 · 获赞 169 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_44799645/article/details/105220832