|
|
Re: .bash_history in F15/16 randomly truncated/incomplete/damaged |
Frantisek Hanzlik wrote:
> And more - at several important machines when I want reboot
> them, I press for logging off and then login on for this only
> "shutdown -r now" command. And by then I at these machines not
> observed problems with bash history. Maybe it is speculation,
> but seem for me as systemd causation.
I have noticed that when I shut a computer down using the command line,
systemd will kill any open bash sessions before they get a chance to
save the history to ~/.bash_history.
If this seriously bothers you, you could investigate the history
command, and possibly put it into the PROMPT_COMMAND environment
variable so the history is written to disk each time the shell shows a
new prompt.
Hope this helps,
James.
--
E-mail: james@ | Blinking text seems awfully archaic and old-fashioned in
aprilcottage.co.uk | these days of flash and javascript atrocities, but we had
| to manage to get annoyed at the technology that was
| available at the time; you youngsters won't understand.
| -- http://lwn.net/Articles/140450
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Fedora ARM]
![]() |
![]() |