10 lines
155 B
Bash
Executable File
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
|