Andy Estes wrote:

> I am running Debian Woody (3.0r1).  The default shell for my user account is
> bash, and I can verify this by typing 'ps' once I am logged on.  However,
> the contents of my .bashrc do not get executed by default.  If I explicitely
> invoke bash (typing 'bash' at the shell), .bashrc is executed properly, but
> if I simply log in (locally or remotely), it doesn't happen.  Can anyone
> explain what is going on here?

"man bash" should do the trick. Look under "INVOCATION". .bashrc is only
executed for an interactive non-login shell.

If you put "source .bashrc" at the end of your .bash_profile, you should
get the behavior you want.

Craig

Attachment: msg26034/pgp00000.pgp
Description: PGP signature

Reply via email to