csh & tcsh history missing after reboot FBSD_8

Warren Block wblock at wonkity.com
Thu Aug 20 02:49:38 UTC 2009


On Wed, 19 Aug 2009, Al Plant wrote:
> Warren Block wrote:
>> On Wed, 19 Aug 2009, Al Plant wrote:
>>> 
>>> Terminal history gone.
>>> 
>>> I cannot get any recent version of FreeBSD 8.* to keep the csh or tcsh 
>>> history across a "reboot" in root or usr. It stays after "exit" and a new 
>>> login however.
>> 
>> Does the history stick around if you do "shutdown -r now" instead of 
>> "reboot"?
>
> No. I used shutdown -r now and shutdown -h now and they both blow it away.

My thinking was that reboot is more abrupt than shutdown, and killed the 
shell without giving it a chance to write out the history.

But I've never noticed the history in a csh being written out before a 
reboot of either type.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list