Timestamps for commands in `history` output is recorded randomly.
Issue
- The users have
HISTTIMEFORMAT
variable exported in their.bash_profile
file. But sometimes, the correct timestamp is recorded, whereas some times, it doesn't record the timestamp. - Is there any issues with the
HISTTIMEFORMAT
?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.