history with date code example
Example 1: linux history with time
HISTTIMEFORMAT="%d/%m/%y %T "
history
Example 2: history with date
$ HISTTIMEFORMAT="%d/%m/%y %T "
HISTTIMEFORMAT="%d/%m/%y %T "
history
$ HISTTIMEFORMAT="%d/%m/%y %T "