D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] lost shell history

 

On Sat, 2009-10-17 at 17:27 +0100, David Johnson wrote:

> 
> Have a look in the following files for a line like HISTFILESIZE=something:
> 
> ~/.bashrc
no such line here
there are 7 lines in .bash_history
> ~/.bash_profile
no such file
> 
> If not in those, check:
> 
> /etc/bash.bashrc
no such line in this file
> 
> When you find the line, just comment it out. By default bash will keep 500 
> lines of history, so something must be over-riding it.
I wonder where.

Thanks
James

-- 
james kilty
http://www.kilty.demon.co.uk


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html