Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default
Bug #2039508 reported by
Haw Loeung
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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=
|
| # 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.
tags: | added: canonical-is |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.