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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
