4 ms·I need to use printf to interpret the escape character: while true; do printf " $(date)\r"; sleep 1; doneby Athas 4y agoI need to use printf to interpret the escape character: while true; do printf " $(date)\r"; sleep 1; doneschoen 4y agoIt might also work with "echo -e".hbossy 4y agoI like my terminals a little bit cleaner: printf '\033c'; while true; do echo -en " $(date)\r"; sleep 1; done