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

Re: .bashrc doesn't work?




Ron Farrer writes:
| J Horacio MG (homega@ciberia.es) wrote:
| 
| > Not sure whether you already know this, but ~/.bashrc is for
| > interactive shell, not for login shell, ie. when you login the
| > config file read is ~/.bash_profile or /etc/profile
| 
| Oops! In Rat Hat putting things in your .bashrc worked... I guess I
| have a few more things to unlearn from Rat Hat!

The behavoiur of bash w.r.t. .bashrc & .bash_login is fixed.  Therefore, 
if using .bashrc "worked" with RedHat, that probably means RedHat
default .bash_login sourced .bashrc .  Which is not ideal.

Mx.


Reply to: