[Bug 2039508] Re: Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default
Haw Loeung
2039508 at bugs.launchpad.net
Tue Oct 17 01:22:03 UTC 2023
** Tags added: canonical-is
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2039508
Title:
Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default
Status in bash package in Ubuntu:
Confirmed
Bug description:
Hi,
/etc/skel/.bashrc has the following:
| # don't put duplicate lines or lines starting with space in the history.
| # See bash(1) for more options
| HISTCONTROL=ignoreboth
|
| # append to the history file, don't overwrite it
| shopt -s histappend
|
| # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
| HISTSIZE=1000
| HISTFILESIZE=2000
It would be nice to also include HISTTIMEFORMAT. Something like
`HISTTIMEFORMAT='%F %T '`. It helps to serve as a little audit trail.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/2039508/+subscriptions
More information about the foundations-bugs
mailing list