News for hackers. Stuff that matters.
Re:Top Unix Command Line Utilities by fqsxr on Sunday December 30, 2012 @10:19AM (#4985884)
I wonder how large is your HISTFILESIZE, to get these accurate statistics?
Re:Top Unix Command Line Utilities by p4bl0 on Sunday December 30, 2012 @10:25AM (#4985906)
My .bash_history weights 1.7Mo (almost 100k lines). I set a very high HISTSIZE since I don't see any reason to lose this data.
Re:Top Unix Command Line Utilities by dfox on Sunday December 30, 2012 @04:26PM (#4987176)
One reason might be that bash reads this whole file into memory on interactive startup and rewrites it completely when shutting down.
Re:Top Unix Command Line Utilities by a3_nm on Monday December 31, 2012 @04:21AM (#4988877)
I second this, I think it is good practice to rotate the history file manually when it reaches several MBs. (Using zsh, the main symptoms of a large history file is sluggishness when using ^R and a lag of a few tenths of a second when closing a terminal.)
Re:Top Unix Command Line Utilities by p4bl0 on Monday December 31, 2012 @06:51AM (#4989087)
For now I don't feel any annoyance, the shell startup is instantaneous and it closes instantaneously as well. If I'm starting to feel a slow down I might rotate the log, but I guess that's not happening soon.