Mailing List Archive


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

Re: [tlug] Bashing away at Unix



On Fri, 14 Mar 2008 17:32:43 +0900, "Nguyen Vu Hung" <vuhung16plus
+shape@example.com> wrote:

> > No.  Any Posix compliant shell will read .profile under certain
> > conditions.
>
> For RHEL 4, bash 3.2 doesn't check $HOME/.profile

In Slackware, bash first reads /etc/profile and then any *.sh files
in /etc/profile.d.

It then reads ~/.bash_profile if invoked with the --login option, or
~/.bashrc otherwise.

At no point does it read ~/.profile unless instructed to by any of the
other scripts processed when it starts.

-- 
G. Stewart - gstewart@example.com

Duct tape is like the Force. It has a light side and a dark side, and it 
holds the universe together.
        -- Carl Zwanzig

Attachment: pgpvffigNDHVQ.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links