commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This is a different version from my original command: Console clock -- Beautiful (http://www.commandlinefu.com/commands/view/7902/console-clock-beautiful )
This one uses Boxes and Figlet.
To install the dependencies on Ubuntu, type in:
sudo apt-get install boxes figlet
To install the dependencies on Debian, type in:
aptitude install boxes figlet
There are 2 alternatives - vote for the best!
Shows a simple clock in the console
-t param removes the watch header
Ctrl-c to exit
A console clock with the current time.
Configures screen to always display the clock in the last line (has to be configured only once).
After that you not only have got the possibility to detach sessions and run them in background, but also have got a nice clock permanently on your screen.
This command will automatically clear the old clock time, and show the new clock time.
It will also slightly format it.
If you can do better, submit your command here.
You must be signed in to comment.