Clearing history 2004-09-03 - By Taylor, ForrestX
Back 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
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Valhalla-list mailing list Valhalla-list@(protected) https://www.redhat.com/mailman/listinfo/valhalla-list
|
|