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

Re: PATH changing in RH7.1



Jason W Elliot <jelliot math cudenver edu> writes:

> I see, ...said the blind man. The question here is: what gets sourced
> when?

For a login shell:

/etc/profile first. At the end of this,  /etc/profile.d/*.sh is
sourced - this makes it possible for packages to drop in path
additions etc here. After that, it will open the first available of 
~/.bash_profile, ~/.bash_login or ~/.profile

See bash(1) for more details

-- 
Trond Eivind Glomsrød
Red Hat, Inc.





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