elimine um processo e mostre um contador regressivo quando o processo for terminar
# count down timer
# playing a 10 mins song but killing is after countdown is over (eg: 3 mins)
secs=$((5 * 60))
while [ $secs -gt 0 ]; do
echo -ne "$secs3[0K\r"
sleep 1
: $((secs--))
done
Tags shell-script