Re: Starting terminal problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Aaron,

Thanks for your advice.

I have looked at man bash and /etc/bashrc and had no idea to fix my problem.

bash-2.05b$ echo $PS1
\s-\v\$

I could not find the abovementioned line on /etc/bashrc

$ cat /etc/bashrc
......
shopt -s checkwinsize
   [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
......

I have another RH8.0 box running without problem. I compared /etc/bashrc of these 2 boxes and found the above line looking the same. Can I copy /etc/bashrc of RH8.0 to RH9.0. Their hardware configurations are different.

B.R.
Stephen



Aaron Konstam wrote:

On Sat, Oct 04, 2003 at 01:10:54PM +0800, Stephen Liu wrote:


Hi all folk,

On starting 'terminal' (console window) it popup

bash-2.05b$

not as
satimis@localhost satimis>$

Kindly advise how to fix it

Thanks

B.R.
Stephen Liu


That is a function of the $PROMPT variable in .bash_profile.
Look at man bash.





-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux