On Thu, 2003-03-06 at 17:07, Sudhakar list wrote:
> Hi,
> I don't know how it has occured but  when I type in "$echo $PS1" it shows as
> "bash\$" instead of  the format "[EMAIL PROTECTED] \W]\$".   I'd appreciate if you 
> can
> guide  me in changing PS1 back to "[EMAIL PROTECTED] \W]\$"  since I tried 
> $PS1="[EMAIL PROTECTED]
> \W]\$"; export PS1
> but when I log in again it get the "bash$" prompt.
> 
> Your suggestions will be greatly appreciated.

put
PS1="[EMAIL PROTECTED] \W]\\$ "

in /etc/bashrc if it is broken for all users or look in ~/.bashrc if it
is only broken for a single user.

HTH


Bret




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to