[klug] Re: [Ilugc] Difference between bashrc and bash_profile

Antony Paul antonypaul24 at gmail.com
Thu Mar 3 09:40:54 IST 2005


so what is /etc/profile for ? I a distro (RHL or MDK) I edited
/etc/profile to set environment variables but these variables were not
present when I logged in as root all other users get the env
variables.

rgds
Antony Paul


On Thu, 03 Mar 2005 09:31:59 +0530, Joe Steeve <joe_steeve at gmx.net> wrote:
> bala chandar <mbchandar at gmail.com> writes:
> > bashrc is the profile configuration per user.
> 
> bash executes ~/.bashrc when starting a non-login shell
> 
> > bash_profile is for the all the user.
> 
> bash executes ~/.bash_profile when starting as a login-shell
> 
> Somepeople call the ~/.bashrc from the ~/.bash_profile
> 
> --
> .O. A proud GNU user
> ..O http://www.joesteeve.tk/
> OOO http://joe.bsdnerds.org/
> 
> 
> _______________________________________________
> To unsubscribe, email ilugc-request at ae.iitm.ac.in with
> "unsubscribe <password> <address>"
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> 
> 
> 
>


More information about the ilugc mailing list