[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] empty bash_history file



On Tue, 6 Apr 2004, Diana Saunders wrote:

> My bash_history file isn't actually empty, but in running the history
> command today I noticed that commands went back only a few days.  Previous
> history is gone.
>
> Does this indicate a hack or is the bash_history file rotated out when it
> gets a certain size?  I tried to find the answer to this in various places
> and I was surprised I couldn't find an answer. Or is it obvious?

http://www.informatik.uni-frankfurt.de/doc/texi/bash_4.html
HISTSIZE
If set, this is the maximum number of commands to remember in the history

look at /etc/profile
HISTSIZE=1000

size limited to 1000

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699