Shell scripts and aliases are the way to go for common commands. What on earth are you using more than a 1000 commands in your history for? I recommend making yourself aliases and scripts for your most used commands which you should be able to discern from your history file.
On 5 Nov 2013, at 17:32, Simon Greenwood <sfgreenw...@gmail.com> wrote: On 5 November 2013 17:18, Steven Roberts <cwmbranmathstu...@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/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
-- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/