Bug ID 624484: Timestamps not available in bash history on non-login interactive shells

Last Modified: Oct 17, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
11.6.1, 11.6.2, 11.6.3,,,,, 12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2, 12.1.0, 12.1.1, 12.1.2, 12.1.3,,,,,, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1

Fixed In:
13.1.0,, 11.6.4

Opened: Oct 24, 2016

Severity: 4-Minor

Related Article: K09023677


There are no timestamps in bash history when bash is initiated from tmsh.


Running 'history' in bash will not include timestamps of commands.


This issue arises when an Administrator or Resource Administrator with tmsh as the default shell runs bash from tmsh and then runs the 'history' command.


Timestamps can be added to bash history by running the following command in bash: export HISTTIMEFORMAT="%Y-%m-%d %T ".

Fix Information

Added timestamps to bash history for non-login interactive shells.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips