Files
utility_scripts/stopwatch.sh
2023-06-25 00:51:45 +01:00

10 lines
155 B
Bash
Executable File

#!/bin/sh
start=$(date +%s)
while true; do
time="$(($(date +%s) - $start))"
printf '%s\r' "$(date -u -d "@$time" +%H:%M:%S)"
sleep 1s;
done