Set the Bash 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.
Set the Bash 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.
Saving code examples I searched multiple times.
2022-06-08