diff --git a/java_console/bin/stopwatch.sh b/java_console/bin/stopwatch.sh new file mode 100644 index 0000000000..73fa0c9e00 --- /dev/null +++ b/java_console/bin/stopwatch.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +# https://superuser.com/questions/611538/is-there-a-way-to-display-a-countdown-or-stopwatch-timer-in-a-terminal + +while true; do echo -ne "`date +%H:%M:%S:%N`\r"; done \ No newline at end of file