#!/bin/bash
b=''
for ((i=1;i<=100;i++))
do
printf "Process:[%-100s]%d%%\r" $b $i
sleep 0.1
b=#$b
done
echo
本文标题:shell脚本生成进度条
本文链接:https://www.haomeiwen.com/subject/qzjgxftx.html
网友评论