It truly depends on how the default management of bash history is set up in the virgin environment.
Variables like HISTCONTROL, HISTIGNORE can play a part.  The setting for 'shopt -s histappend' also matters.
The BASH man page briefly explains them.

R,
-Joe

On Tuesday, June 4, 2024 at 12:17:41 PM EDT, 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-leave@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