From 8c6c774471da6a62ad73660180f411dba68ca126 Mon Sep 17 00:00:00 2001 From: ccdlus Date: Wed, 30 Oct 2019 17:53:25 +0700 Subject: [PATCH] add digital clock util script --- README.md | 8 ++++++++ digital-clock.sh | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100755 digital-clock.sh diff --git a/README.md b/README.md index 11b6acc..70cde1c 100644 --- a/README.md +++ b/README.md @@ -211,3 +211,11 @@ These commands are so easy to use that creating a script for them would be overk ```sh df ``` + +### ⏰ Show Digital Clock on screen + +Script: [digital-clock] + +```sh +digital-clock +``` \ No newline at end of file diff --git a/digital-clock.sh b/digital-clock.sh new file mode 100755 index 0000000..3eecaa3 --- /dev/null +++ b/digital-clock.sh @@ -0,0 +1,7 @@ +# Show Digital Clock on Screen +while true +do + banner `date +%X` + sleep 1 + clear +done \ No newline at end of file