BASH - Display Clock within Shell
Friday, 18 February 2011 14:43

The following command will place a clock within the top right corner of your shell.

while sleep 1;do tput sc;tput cup 0 $(($(tput cols)-25));date;tput rc;done &


 
We have 37 guests online