Re: Reality check on bash behavior.

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

 



akonstam@xxxxxxxxxxx wrote:
I need to check that my observations on bash invocation is correct.
In the bash man page it states that when the bash shell in invoked the
following three files are sourced: /etc/profile, ~/.bash_profile and
~/.profile. My observation is that when .bash_profile is present
.profile is not sourced.

Sounds about my recollection.

This is in important to us because we have the same user directories mounted on FC4 machines and OS X machines, On OS X machines it looks
like .profile is sourced even when a .bash_profile exists.

I just want to check that my sanity is still in place and I am seeing
what is really happening. I realize behavior on an OS X machine is off
topic on a fedora list.


Read the scripts, see what they do. Some may source others that might not otherwise be read.

bash probably behaves the same on all platforms, but the scripts' behaviour is determined by your vendors.



--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux