Created
May 3, 2018 05:25
-
-
Save pa4080/c49ecdb5e40827a5219716ce1323c8d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "\nTerminal Clock\n" | |
while true; do | |
printf '%(%c)T\r' -1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run it on fly:
curl -s https://gist.githubusercontent.com/pa4080/c49ecdb5e40827a5219716ce1323c8d7/raw/7caa8560cb0a95e5d6ff95c8113992122ae31a52/Inline%2520Terminal%2520Clock | bash -s
Or:
wget -qO- https://gist.githubusercontent.com/pa4080/c49ecdb5e40827a5219716ce1323c8d7/raw/7caa8560cb0a95e5d6ff95c8113992122ae31a52/Inline%2520Terminal%2520Clock | bash -s