1

How to show a running clock in terminal before the command prompt

view story
linux-howto

http://askubuntu.com – I prefer to use terminal and spend most of the time using it. I am searching a way to see time in terminal while I use it parallel. The time would change automatically when it passes. It would be awesome if it would display left to my command prompt. If this is my command prompt in terminal: saurav@saurav-P4I45Gx-PE:~$ Then I would like to see clock(time) as: saurav@saurav-P4I45Gx-PE[06:27:01]:~$ or saurav@(06:27:01):~$ or any other format. where 06:27:01 is the time. What I want is just to show the time which changes when seconds pass. So is there any way to achieve this? I will be (HowTos)