i=0;cat rmdir | while read line ;do ((i++));rm $line;echo -ne "\033[20D\033[K$i/1352" ;done显示1/1352.../1352 1352/1352代表删除完成
echo -e "\e[1;31m this is a test \e[0m"this is a testecho -e "\e[1;32m this is a test \e[0m"this is a test
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号