Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2009 15:16:16 +0200
From:      "barbara" <barbara.xxx1975@libero.it>
To:        "spambox" <spambox@haruhiism.net>
Cc:        freebsd-current <freebsd-current@freebsd.org>, noc <noc@hdk5.net>
Subject:   Re: Root history not saving over reboot 8*
Message-ID:  <KOZJJ4$A25639717DA6466815236F4C7FE5703F@libero.it>

next in thread | raw e-mail | index | archive | help
> Al Plant wrote:
> > Several of us on the questions list have not been able to find out if=
 
> > the problem of history not being saved in the root or usr command 
> > lines has been corrected.
> > I have tried 8* on both i386 and amd64 and it doesnt save across a 
> > reboot on either box. FreeBSD 7.2 does as do the earlier current 
> > versions before approximately June of 8*
> I guess you use 'reboot' to reboot. As this forces a reboot immediately=
 
> (and closes all terminals), the shell has no chance to terminate 
> 'normally' (i.e., by exit/ctrl-d/logout/etc) - therefore history is not=
 
> saved.
> 
> Check if the command history is saved if you do "shutdown -r now" and 
> hit ctrl-d immediately. I'd assume it does.
> 

I didn't tried pressing ctrl-d, but I can confirm that the history get lo=
st even using shutdown as I use reboot only sometime in single user.

BTW, isn't ctrl-d the combination for command completion?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KOZJJ4$A25639717DA6466815236F4C7FE5703F>