Date: Sun, 5 May 2002 01:10:09 -0400 From: <lists@brenius.com> To: <questions@freebsd.org> Cc: <genisis@istar.ca> Subject: Re: bash & csh History Message-ID: <000401c1f3f3$214a3b40$0200a8c0@afi> References: <20020504093131.E5288-100000@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c1f3f3$214a3b40$0200a8c0>