This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

CLI Magic: Use ANSI escape sequences to display a clock in your terminal

Posted by: Anonymous [ip: 71.236.180.248] on January 22, 2008 03:32 PM
Hmm, interesting use of escape sequences.

I like the time in the prompt, though.. You can tell what time it is and you also have the benefit of knowing how long the last command took.

#

Return to CLI Magic: Use ANSI escape sequences to display a clock in your terminal