Enable HISTTIMEFORMAT in /etc/skel/.bashrc by default

Bug #2039508 reported by Haw Loeung
12
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=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.

Tags: canonical-is
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
Haw Loeung (hloeung)
tags: added: canonical-is
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.