BashClock/time.sh

9 lines
96 B
Bash
Raw Normal View History

2023-02-06 09:57:29 -04:00
#/bin/bash
trap ctrl_c EXIT
function ctrl_c() {
clear
}
while sleep 1; do clear; date; done