John Summerfied wrote:
Jeff Vian wrote:
On Mon, 2006-01-16 at 11:04 +0000, Paul Howarth wrote:
Jeff Vian wrote:
I know that on Linux a bash shell parses .profile _and_
~/.bash_profile.
I cannot speak for differences in OS X, although I would not expect
any.
AIUI the .profile contains configurations that are used by all and the
~/.bash_profile makes user specific modifications.
Sure you don't mean /etc/profile when you write .profile ?
Paul.
Thanks for the wakeup slap Paul. That is exactly what I meant.
Time for more coffee <grin>.
Some distros do have ~/.profile (I think Debian does).
Yes, but that's still a user-specific file, not one that applies to all
users.
Bash will read ~/.profile if it's a login shell and neither
~/.bash_profile nor ~/.bash_login exist. See the INVOCATION section of
the bash manpage.
Paul.