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

RE: [cobalt-users] site directory names



> -----Message d'origine-----
> De : cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]De la part de gerald waugh

> I see, and I agree, partcularly when I have several SSH windows open and I
> am going from machine to machine. I have to waste time figuring out whare
> I am.
>
> Also I think RaQ3s give the host name in the prompt, but RAQ4s don't. I
> would like to fix that, easy I am sure, but maybe someone has a quick
> answer.
>

hello,

cd in your homedir

touch .bashrc
vim .bashrc

and add this :

PS1='\u@\h:\w\$ '

you will see a prompt like "username@hostname: $ "


you have also to add this in your ~/.profile :

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

hop this help

fred