[Bug 2039508] Re: Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default
Haw Loeung
2039508 at bugs.launchpad.net
Sun Oct 13 00:55:15 UTC 2024
** Also affects: bash (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: bash (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: bash (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: bash (Ubuntu Oracular)
Importance: Undecided
Status: Confirmed
--
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
Status in bash source package in Focal:
New
Status in bash source package in Jammy:
New
Status in bash source package in Noble:
New
Status in bash source package in Oracular:
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