[ubuntu-uk] 1000 commands
Simon Greenwood
sfgreenwood at gmail.com
Tue Nov 5 17:31:51 UTC 2013
On 5 November 2013 17:18, Steven Roberts <cwmbranmathstutor at gmail.com>wrote:
> I just discovered that, as a default, only the last 1000 commands are
> stored in the bash history file. Pretty horrified! A quick bit of googling
> gave me the fix to increase the limit etc.
>
> Not sure if this is just Ubuntu or linux in general.
>
> If you're into the command line 1000 commands don't cover a very long
> period. I had made a backup of my history file in google docs/drive so not
> all was lost. But it's something I've never seen reference too before. I
> was on Ubuntu 12.04 so maybe it's changed since then? Don't know.
>
>
> It's been a thousand on most Linux distributions for a while. It certainly
is in CentOS 5 and 6 so that goes back about six years. Interestingly it
appears to have been 500 in Ubuntu in 2009 but I honestly can't remember.
Would converting a few things into aliases or shell scripts reduce your
reliance on history?
S/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20131105/d225f9e9/attachment.html>
More information about the ubuntu-uk
mailing list