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

RE: [cobalt-users] site directory names



-----Original Message-----
From: gerald waugh [mailto:gwaugh@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, July 10, 2002 8:15 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] site directory names




On Tue, 9 Jul 2002, Brian Quinn wrote:

> yeah i see the links when i do the ls -la like i said, i just hate that
the
> directorys are names  SITE1, SITE2, etc
> cause when i'm in one and do a PWD it's showing SITE1, etc and not the
> domain i'm trying to modify
>
> on my solaris box with virtual hosting, i make the home directory's like
>
> /home/domain1.com
> /home/mydomain.com
> etc
>
> it's easier to figure out where you are when there like that
>
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.
----------------------------

Gerald,

You can make your prompt what ever you want it to be.
Just stick the code into the .bash_login or .profile
file in the respective home directory and set your prompt
to be as fancy as you like. Look at man bash to see
what you can do with your prompt variables. In the
man bash file look from the topic called PROMPTING
and also see the definition of the PS{1,4} variables.