From owner-freebsd-questions Tue Apr 17 1:26:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 7B89537B42C for ; Tue, 17 Apr 2001 01:26:22 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id BAA83553; Tue, 17 Apr 2001 01:25:03 -0700 (PDT) Date: Tue, 17 Apr 2001 01:25:03 -0700 (PDT) From: Annelise Anderson To: Joe Heuring Cc: freebsd-questions@FreeBSD.ORG Subject: Re: shells In-Reply-To: <20100414174400.B21523@Joe H> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 14 Apr 2010, Joe Heuring wrote: > Out of pure curiosity I'm wondering why FreeBSD uses the C-shell as default. Without getting into flame wars here, I think because bash is under the GPL license. Anyway, probably a shell using the same syntax as sh (which is the preferred shell for shell scripts) is desirable. That means bash (or a ksh variant) instead of csh (which is really tcsh on FreeBSD now). And bash has the benefit that it's the default shell for Linux, and if you work in this field you will probably run into some computers running Linux too. And all those Windows boxen. You can install bash (with choices of versions--use bash2) from ports, but you have to provide your own configuration files or find some on the net; Linux ones will work with probably a few changes. Many people also like zsh, but it's sort of "odd" in some ways. Annelise > I have a quick tendency to switch to bash but shortly I expect to be working in the field so I'm wondering how much one would be expected to know the C-shell. > > With out knowing I would expect the C-shell to have a smaller foot print than bash (because it's older) and that maybe certain devices would prefer one shell over the other. But I have no idea really. Can anyone shed any light on this as to how much the C-shell is still and will be used? Thanks. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message