Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 19:58:37 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Gert Cuykens <gert.cuykens@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: .cshrc
Message-ID:  <4244C1CD.3080606@daleco.biz>
In-Reply-To: <ef60af09050325163613828b24@mail.gmail.com>
References:  <ef60af0905032515326bbeb618@mail.gmail.com> <20050325234152.GA12816@falcon.midgard.homeip.net> <ef60af0905032515552b123ce7@mail.gmail.com> <20050326002311.GA18807@falcon.midgard.homeip.net> <ef60af0905032516337d7e026d@mail.gmail.com> <ef60af09050325163613828b24@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gert Cuykens wrote:

>Is .profile read by every shell ?
>  
>

It's for the Bourne type shells (sh, and bash), but I'm
not into those, so I'm not sure if bash cares about .profile
or not, or if there's a way to tell it that it should read that.

IIRC, there's a .bashrc for bash, just as there is, IIRC, a
.shrc for sh, the original Bourne shell.  (You do know that
"bash" is an acronym for "Bourne Again SHell", right?  A
play on the English translation of Jesus' words to Nicodemus
in John III:iii: "Except a man be born again ..." which was
probably particularly funny in America in the late 1970s...)

.cshrc is read by csh/tcsh, which, incidentally enough,
are the same thing on FreeBSD unless for some reason
diff(1) is idiotic in this regard:

[604] Fri 25.Mar.2005 19:48:40
[kadmin@archangel][/home/shared]
# diff /bin/csh /bin/tcsh

--- and I suppose that's why there's no .tcshrc AFAIK
on FBSD.

HTH,

Kevin Kinsey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4244C1CD.3080606>