Philipp Tuchardt / History format

Created Wed, 08 Jun 2022 11:19:19 +0200
38 Words

Set the history to show a timestamp for your command history (for the current terminal session only) by using this command:

HISTTIMEFORMAT="%F %T "

Now type history and you should see timestamp for your Bash history commands.

Source