From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 19:26:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98B2D16A4CE for ; Thu, 16 Dec 2004 19:26:15 +0000 (GMT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24D8743D4C for ; Thu, 16 Dec 2004 19:26:15 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id iBGJQCFs013107; Thu, 16 Dec 2004 14:26:14 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <005a01c4e31c$efc4d460$0200a8c0@PANASONIULSWMR> References: <005a01c4e31c$efc4d460$0200a8c0@PANASONIULSWMR> Date: Thu, 16 Dec 2004 14:26:12 -0500 To: "Adam" , From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Why reccomend Bash shell? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 19:26:15 -0000 At 9:11 PM -0600 12/15/04, Adam wrote: >In Greg Lehey's book "The Complete FreeBSD" he reccomends changing >the default shell for users to bash shell. -p. 94 > >What are the Pro's/Con's of using bash as opposed to the other >shells? Personal preferences, mostly. In my case, my first unix accounts were setup with csh. I am a programmer, and am happy to write little scripts to automate minor repetitive tasks. I came across some situations where I just couldn't get csh to do what I wanted it to do, so I started using /bin/sh for all the scripts that I wrote. As I did that more, I ended up switching my shell to bash (since it uses syntax which is much closer to standard 'sh'). There are other 'sh-ish' alternatives to csh/tcsh, but I must admit I haven't really given them a fair trial. I've been using bash for at least twelve years now, and I haven't felt any need to change. I should also admit that these days I'm more likely to write scripts in perl or ruby, unless it is something fairly simple... Those are my personal preferences. Yours may be different. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu