#!/bin/bash
hello()
{
echo -e " num is $i \r "
}
for i in {1…1000}
do
hello $i
done
#!/bin/bash
hello()
{
echo -e " num is $i \r "
}
for i in {1…1000}
do
hello $i
done
#!/bin/bash
hello() {
echo -ne "\r num is $i "
}
for i in {1..10}; do
hello $i
sleep 1
done