From owner-freebsd-questions Sat May 4 22:10:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.eagle.ca (mail2.eagle.ca [209.167.16.30]) by hub.freebsd.org (Postfix) with ESMTP id 68D1C37B417 for ; Sat, 4 May 2002 22:10:24 -0700 (PDT) Received: from afi (38.eagle.speede.com [64.39.177.38]) by mail2.eagle.ca (8.11.3/8.11.3) with SMTP id g4552ok10913; Sun, 5 May 2002 01:02:50 -0400 (EDT) (envelope-from lists@brenius.com) Message-ID: <000401c1f3f3$214a3b40$0200a8c0@afi> From: To: Cc: References: <20020504093131.E5288-100000@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca> Subject: Re: bash & csh History Date: Sun, 5 May 2002 01:10:09 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Dru, > In the .history file of the user's home directory. If they su to root, in > the .history file found in /root. Gotcha, thanks. > Bash is a little bit more interesting as its history is kept in memory > until the user logs out. Then it is stored in the user's .bash_history file in > their home directory. That is what I seemed to be seeing, it was just my history file was getting too big. > for csh: set history=# in user's .cshrc > for bash: HISTSIZE=# in user's .profile That make sense, I just added it, so we will see how it goes. > Use "vipw" and change that user's shell to bash. Is that part of the OS or a port? I am not logged in right now so won`t be able to check until tomorrow. Anymore info on this program? >You could do the same for the root user's entry, but AFAIK this causes > problems if you ever need to boot into single user mode??? Not sure as I don't > use bash myself :) Anyone else care to share some comments on this? Thanks for the help Dru, Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message