Re: bash history file
On Wed, Jan 30, 2002 at 08:07:10PM -0800, Karsten M. Self wrote:
> on Wed, Jan 30, 2002 at 08:57 PM +0200, Ian Balchin (firstname.lastname@example.org) wrote:
> > Hi,
> > My commands are no longer recorded in .bash_history
> > HISTFILE. HISTFILESIZE, & HISTSIZE are all set.
> > What have i done? This is apparent in my user login, commands as
> > root are still recorded.
> > Thanks for any tips.
> Log out. The commands aren't saved until you exit your shell.
> To test, you can also do:
> $ bash # start a new shell with bash
> $ some commands
> $ exit #
> $ cat ~/.bash_history # should show "some commands"
Thanks Karsten, I thought # poweroff shut all down properly but it
obviously does not run a logout. I will remember to logout of any
user terminals first.
This machine is running Debian GNU/Linux ... http://www.debian.org