Hi folks, hopefully a quickie - how does one change the number of commands to be stored in the .sh_history file in AIX 5.2. I had thought it might be the $HISTSIZE variable, but this is related to password reuse. TIA.
I agree with you on it being the HISTSIZE env var, but cant be sure at 5.2. Its is definately the case at 4.3 and 5.1 so I would think it would be the same for 5.2.
One interesting aspect of its use under AIX is that it seems to allocate storage based off this var on execution of ksh (ie. it does not look like its dynamic).
This means that you will not see the affects of your change within the current shell. If you run ksh again though (after exporting your HISTSIZE var) you should see your change manifest.
If someone knows how to alter this characteristic within your current shell (in AIX) .... I'd be very interested to hear it ;-)
All the Best Bud
____________________
Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debuging Mondays code.
Thanks pal, I think maybe I was confusing histsize and HISTSIZE. I've got a test system I can play on, so I'll see what happens when I change it. Have a good weekend!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.