Re: [SLUG] path locations

From: Matt Miller (Matt.Miller@mptotalcare.com)
Date: Mon Jul 14 2003 - 09:47:31 EDT


On Sun, 2003-07-13 at 12:50, Dylan William Hardison wrote:
> in /etc/profile, it says:
> # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
> # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
>
> So, basically yes.
>
> On Sunday, July 13, 2003 at 09:44AM -0400, Steven Buehler wrote:
> > > /etc/profile I think. I think /etc/bashrc exists on some systems too.
> >
> > I think /etc/bashrc is specific to bash, while /etc/profile is read
> > regardless of shell being used.
> >

The largest exception would be C-shell and its derivatives.

csh and tcsh shells use ~/.cshrc and ~/.login, but source /etc/cshrc and
/etc/login first.

-- 

Matt Miller Systems Administrator MP TotalCare gpg public key id: 08BC7B06

-- Insanity in individuals is something rare - but in groups, parties, nations and epochs, it is the rule. -- Nietzsche




This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:22:31 EDT