On Tue, 2026-10-06 at 16:59 -0500, Roger Heflin wrote:
> If HISTFILE is unset or null, the shell does not save the command
> history when it exits.
> You also have HISTSIZE and if that is 0 it does not save history.
> You also have HISTFILESIZE and that being 0 does not save history.
> 
> There may be other ways to get no history.   Some sort of bad
> permissions on HISTFILE might do it, especially if it was something
> like the readonly attr setting (lsattr).
> 
> So check your current settings of those variables and see how they
> are set.

Also (see 'info bash'):

If the ‘histappend’ shell option is set (*note Bash
Builtins::), Bash appends the entries to the history file, otherwise it
overwrites the history file.

poc
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to