Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 02:18:16 +0200 (EET)
From:      Bernie <Bernie_X@myrealbox.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   shells confusion
Message-ID:  <20020126020430.P175-100000@BLAST>

next in thread | raw e-mail | index | archive | help

hi,

i'm planning to learn shell programming but i'm not sure
on which one to choose...

i've been reading in the 'FreeBSD unleashed' that people
wanting to do shell programming should stay away from
c-shell as it's realy good for interactive, but very bad
for scripts. is this true?

also, looking into the scripts in /etc, i see a line on the
top saying 'bin/sh'. so are they all written in 'sh' and
not csh ? if so, why freebsd comes with csh as default?

also, why single user mode proposes /bin/sh as default?
is there any particular reason for it?

i'm a bit confused on which shell to pick from programming.
also i've been thinking of perl, but for the moment i think
i've got to learn at least how to do basic shell programming,
not only to write programs, but also to understand scrips that
come with the system.

but the question is 'which shell' ...

any advice on this matter will be appreciated.


Regards

--Bernie




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020126020430.P175-100000>