If you have 2 separate sessions open for the given user last save/exit
wins and overwrites the history file.  This may be an
oversimplification but 2 sessions both saving out do seem to make a
mess.

And if there is no -TERM and/or clean exit then nothing gets written out.

I have trained people on root cause analysis for system events/crashes
and I have always told them that if you do not find something in the
history that does not mean that a command was not typed.

On Tue, Jun 4, 2024 at 11:17 AM AV via users
<users@lists.fedoraproject.org> wrote:
>
> This is on fedora 40, a fresh 'everything' network install.
> I always update/upgrade manually using 'sudo dnf --refresh upgrade'.
> To save typing I would scroll through the command history using the
> arrow keys.
> But 'sudo dnf --refresh upgrade' is no longer listed!
> All other commands I used are still listed, but not this one.
> Can somebody explain?
>
> AV
> --
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to