From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 19:56:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A6FF106564A for ; Fri, 4 Jun 2010 19:56:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 386B48FC0A for ; Fri, 4 Jun 2010 19:56:38 +0000 (UTC) Received: from r55.edvax.de (port-92-195-108-152.dynamic.qsc.de [92.195.108.152]) by mx01.qsc.de (Postfix) with ESMTP id AF4493D939; Fri, 4 Jun 2010 21:56:33 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o54JuWBn002347; Fri, 4 Jun 2010 21:56:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 21:56:32 +0200 From: Polytropon To: Stefan Miklosovic Message-Id: <20100604215632.22803bc9.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 19:56:39 -0000 On Fri, 4 Jun 2010 20:56:02 +0200, Stefan Miklosovic wrote: > Hi list, > > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) > > Are there such dependencies on csh? I know that real system scripting > is done via /bin/sh > co absence of csh shell should not break system. > > Am I wrong ? Hmmm... first of all, you know that there are some things you have to take into mind when installing bash into the OS (e. g. attention to use statical linking, and placing it into /bin). Keep in mind that FreeBSD defaults to csh as the default dialog shell in many places (e. g. /usr/share/skel), but you can also modify those references to point to bash instead. I don't know why you want to remove csh from the system (instead of just not using it), but in my opinion - without any experience or testing - it sounds possible. You can easily build a minimal system, install bash as mentioned before, and then remove the csh binary. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...