<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 November 2013 17:18, Steven Roberts <span dir="ltr"><<a href="mailto:cwmbranmathstutor@gmail.com" target="_blank">cwmbranmathstutor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>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.</p>

<p>Not sure if this is just Ubuntu or linux in general.</p>
<p>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.</p>


<p><br></p></blockquote><div>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?</div>
<div><br></div><div>S/</div></div>
</div></div>