Timestamps for commands in `history` output is recorded randomly.
Issue
- The users have
HISTTIMEFORMATvariable exported in their.bash_profilefile. 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.