[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Command Prompt



Hi,
use PS1='\t' to do the stuff...

Archan Paul
Lateral Linux Labs
archanp@xxxxxxxxxxx



On Wed, 16 Aug 2000, you wrote:
> On 15 Aug 2000, Toji Leon wrote:
> 
> > Is there any way to display the current time as the
> > command prompt? 
> > if PS1="`date "+%H:%M:%S"` \W" is written, it'll display
> > only the login time(of course, along with the current dir).
> 
> 	PS1='\T>'
> 
> 	man bash for details
>