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

Re: Clearing history



On Fri, 2004-09-03 at 06:11, Harry Hambi wrote:
> Hi All,
> Can someone tell me how to clear my history file its getting rather
> large. I've tried history -c no joyâ?¦I'me using redhat 5.2.Just want to
> clear it, if  I do the following edit my .bashrc and add
> 
> HISTFILESIZE=0
> HISTSIZE=0
> i will not be able to use the up-arrow to retrieve youâ??re my last
> command.

Wow--5.2!  I haven't seen that for a while.  Do you have a .bash_history
in your home directory?  You should be able to remove it.  What about
setting HISTFILESIZE and HISTSIZE to 100 or 1000, so some reasonable
size?

Forrest



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