This is how you to show a clock on linux shell:
while true
do
time=`date +%r`
printf "\r${time}"
Done
Or
watch -n 1 -t
This is how you to show a clock on linux shell:
while true
do
time=`date +%r`
printf "\r${time}"
Done
Or
watch -n 1 -t