From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:04:03 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 D619D1065675 for ; Fri, 4 Jun 2010 20:04:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 62B1C8FC28 for ; Fri, 4 Jun 2010 20:04:03 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OKd7a-0001ks-9W for freebsd-questions@freebsd.org; Fri, 04 Jun 2010 22:04:02 +0200 Received: from pool-71-166-141-120.washdc.east.verizon.net ([71.166.141.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Jun 2010 22:04:02 +0200 Received: from nightrecon by pool-71-166-141-120.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Jun 2010 22:04:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 04 Jun 2010 16:04:22 -0400 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-141-120.washdc.east.verizon.net Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:04:03 -0000 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. Why do you feel it is necessary to completely remove csh? It is part of the base install of the OS and does not prevent you from installing and using Bash should you choose. Since these are not mutually exclusive I see no reason to remove csh. Just leave it be. Arbitrarily 'removing' stuff from the base system without relevant reason is more likely to create a problem where none existed previously. You can install Bash from ports. You should know that it is a third party userland application at this point. What you will find out some day when /usr won't mount and you're sitting in single-user mode trying to recover the box is bash will not be working. And if you made the mistake of changing root's shell to bash you will not be a happy camper. You are certainly free to use whatever shell you want as a user. Don't mess with root's shell. I saw once some highly questionable so-called 'benchmarking' where it was claimed that bash is 4 times slower than anything else. My own $.02 is the fixation on bash is more a result from people coming over to FreeBSD from Linux, and trying to drag Linux methodologies along with instead of looking at FreeBSD fresh and learning new stuff. While there is a lot of similarity and overlap, FreeBSD is *not* just another Linux distro. -Mike