[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Command Prompt
Read the BASH-Prompt HOWTO. Please post these queries to LIH. This list
is meant for non-technical discussions.
Biju
--- Toji Leon <tojileon@xxxxxxx> wrote:
> hi
> 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).
> I want 2 c the time of displaying the prompt each time
> the prompt is displayed.
> Where'll the shell look for PS1 each time the prompt is
> displayed? Any file?
> thanks
>
>
> ____________________________________________________________________
> Get free email and a permanent address at
> http://www.netaddress.com/?N=1
>
> ----------------------------------------------
> LIG is all for free speech. But it was created
> for a purpose. Violations of the rules of
> this list will result in stern action.
=====
Biju "Botsie" Chacko
E-Mail: b o t s i e @ m a i l . c o m (personal)
e d i t o r @ s p l u s p l . c o m (work)
__________________________________________________
Do You Yahoo!?
Yahoo! Mail ? Free email you can access from anywhere!
http://mail.yahoo.com/