From owner-freebsd-questions Wed Feb 24 20:33:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id CB0FD14BDA for ; Wed, 24 Feb 1999 20:33:29 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id XAA02000; Wed, 24 Feb 1999 23:42:18 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902250442.XAA02000@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Command history (newbie) In-Reply-To: <913B8C252194D2119BD500805F31817803047C@za12nt02.mweb.com> from Langa Kentane at "Feb 24, 99 04:23:16 pm" To: LKentane@mweb.com (Langa Kentane) Date: Wed, 24 Feb 1999 23:42:18 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Langa Kentane wrote, > I am using FreeBSD-3.0 and my shell is csh (root :)). Being a linux newbie > also I have gotten used to using bash. I don't wanna use bash in this case > though. I want to use csh and the one thing that is annoying me is that I > can't scroll up my command histoy. > > How do I anable this feature for this shell and what keys will I have to use > to move up the history?? You don't, you use tcsh instead. However, if you are going to use tcsh, you might as well use bash. What you really should do is not use root except when you have to. csh does have a history mechanism, '!!' is the previous command, '!-2' second to last, '!23' is the 23rd since the shell was spawned, '!ls' is the last one to start with the string 'ls,' etc. etc., plus you can do editing. See 'man csh.' -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message