summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/clock10
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/clock b/.local/bin/clock
new file mode 100755
index 0000000..df250b8
--- /dev/null
+++ b/.local/bin/clock
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Display a clock in the terminal with hours, minutes, seconds and
+# milliseconds
+
+while :
+do
+ echo -ne "$(date +%T.%3N)\r"
+ sleep .001
+done