10101

Well-Known Member
Sep 4, 2003
151
0
166
HI,

Tonight our ssh changed which is really odd, by changed i mean:

1) now shows "-bash-2.05b#" instead of the hostname, before you enter a command

2) edit no longer works but pico does

3) when copying files to a place where they already exist it no longer asks if you want to overrite

any ideas what this could be due to or how to fix it?
 
Last edited:

bijo

Well-Known Member
Aug 21, 2004
474
0
166
India
Hello,

Did you check the value of PS1 varriable on your system?. if not check it first.
Try the following command on your console.
----------------------------------
PS1="[\u@\h \W]\\$ "
----------------------------------
May be it will help you to solve this issue ;) Let me know the status.
 

10101

Well-Known Member
Sep 4, 2003
151
0
166
bijo said:
Hello,

Did you check the value of PS1 varriable on your system?. if not check it first.
Try the following command on your console.
----------------------------------
PS1="[\u@\h \W]\\$ "
----------------------------------
May be it will help you to solve this issue ;) Let me know the status.
Hi,

It didnt output anything:

-bash-2.05b# PS1="[\u@\h \W]\\$ "
[root@master root]#
 

bijo

Well-Known Member
Aug 21, 2004
474
0
166
India
Hello,

Check the file /etc/bashrc, If you don't able to find out the issue, set the value in /etc/profile, It will help you to overcome this issue, Let me know the status ;)