On 10/27/15 1:50 PM, Nick Dokos wrote:
Peter Davis <p...@pfdstudio.com> writes:
According to 
<http://www.science.unitn.it/~fiorella/guidelinux/gs/node153.html>, .profile is
bash-specific. tcsh has a different set of login/session initialization files.

No, it does not say that .profile is bash-specific at all: it
just says it's used by bash and not used by tcsh. What *is*
specific to bash is $HOME/.bash_profile.

Sorry.

But when setting up the window environment on Linux, the various scripts
are executed by whatever POSIX shell is available on the system (usually
sh on Linux), because a POSIX shell is supposed to be part of a POSIX
system, so guaranteed to be available (which is not true of csh/tcsh).
Hence .profile is the common denominator.

Yes, .profile is the common denominator ... except where it isn't.

Thanks,
-pd


Reply via email to