[ubuntu-uk] 1000 commands
Alan Lord
alanslists at gmail.com
Thu Nov 7 07:56:51 UTC 2013
On 06/11/13 20:23, Alan Jenkins wrote:
> There is no problem with keeping a lengthy history per se, just
> sometimes those commands are often variations on the same thing in
> which case you may be better off creating scripts and aliases to save
> yourself time and effort. Always seek quicker and easier ways to do
> things as it makes your life easier and means you can spend the saved
> time working on other cool things or having fun.
Just as a follow up as I don;t think I actually noticed a reply
explaining where the limit is configured...
nano ~/.bashrc
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
Cheers
Al
More information about the ubuntu-uk
mailing list