where are environment variables set?

Jeremy Rickard rickard3@cse.msu.edu
Fri, 7 Jul 2000 09:29:56 -0400 (EDT)


On Fri, 7 Jul 2000, Mike Rambo wrote:

> I have found that my PATH has things in it which are no
> longer necessary but I cannot figure out where they are
> being configured.  I've looked at /etc/profile, /etc/bashrc,
> $HOME/.bash_profile but the settings aren't in any of these.
> 
> I'm running Mandrake 7.1.  Where are common (or un-common)
> locations where PATH assignments are made?


it depends on your shell. 
I have mine in my .bashrc when i'm using bash and .cshrc when im using
csh/tcsh.