[Gllug] .bash_profile & .bashrc

Pip gl.lug at ntlworld.com
Mon Aug 30 08:17:06 UTC 2004


On Monday 30 Aug 2004 09:02, Andrew Black (li) wrote:
> Hi
> I am confused between the files - .bash_profile & .bashrc
> I am trying to put some customised alias and $PATH etc and am finding things
> are different between a Konsole session and an SSH session.

They are? How's that?
 
> What is the rationale for putting things into either file.

Configuration of the bash environment for either your system or for individual 
users, at a wild guess.

> On related point, if I want soemthing to be defined for all users, is it
> legit to create  it to a file in  the directory /etc/profile.d.
> I have done this and it works but it appears tobe called twice (so if you
> add to $PATH it happens twice :-( )

Aah, you might want to configure PATH in /etc/bashrc, along with default 
prompts and so forth.


Pip
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list