From owner-freebsd-questions@FreeBSD.ORG Thu Apr 15 13:23:35 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 EFE8116A4CE for ; Thu, 15 Apr 2004 13:23:35 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5600743D4C for ; Thu, 15 Apr 2004 13:23:35 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i3FKNSC19939; Thu, 15 Apr 2004 16:23:28 -0400 (EDT) From: Jerry McAllister Message-Id: <200404152023.i3FKNSC19939@clunix.cl.msu.edu> To: addymin@pacbell.net Date: Thu, 15 Apr 2004 16:23:27 -0400 (EDT) In-Reply-To: <407EE04B.5050800@pacbell.net> from "Mike" at Apr 15, 2004 12:19:39 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Josh Paetzel cc: freebsd-questions Subject: Re: Beginner's question about csh/tcsh 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, 15 Apr 2004 20:23:36 -0000 > > Jerry McAllister wrote: > > >>>It sounds like you are using an account with /bin/sh as a shell > >>>For example, unless you change it, root uses sh for a shell. > >>> > >>>////jerry > >> > >>Root uses csh by default. > > > > Well, I'll be darned. It does now. > > BTW. I login as normal user and "su" to root for adminstrative tasks. > > I checked what shell root was using and it was sh (/bin/sh). So the > information on my first post was inaccurate. My bad. I thought the > shell was csh. I guess that is now the default. > So, I changed root's shell to csh. The problem of no .history via up > and down arrows went away. The arrow keys now access the .history file. > > Strange. Did I possibly do something to screw up the sh shell? I don't remember the FreeBSD version being mentioned. Maybe if it is old enough, it would be /bin/sh. It used to be that I think some time ago. I don't remember how far back (or maybe if I am thinking of a different UNIX). Otherwise, someone (you?) may have modified the root entry on your machine in /etc/passwd to have /bin/sh as its shell for some reason. ////jerry > Michael Chinn > > > > ////jerry > > > > > >>Josh Paetzel > >>