.cshrc

Kevin Kinsey kdk at daleco.biz
Fri Mar 25 17:58:41 PST 2005


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 at archangel][/home/shared]
# diff /bin/csh /bin/tcsh

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

HTH,

Kevin Kinsey


More information about the freebsd-questions mailing list