time as shell prompt
How to find out time in the terminal.
Is it possible to have time as shell prompt. Or is it possible to display time in any other part of the screen continuously in the terminal. |
Put something similar to this in your .bashrc file.
Code:
# Change bash prompt. See the article Code:
Thu Jul 3 11:52pm phil@tinwhistle ~ $ |
hey damn nice link
|
Realize that the time in the prompt is static, so if you want the current time, you have to reactivate the prompt (hit ENTER).
|
All times are GMT -5. The time now is 03:19 PM. |