echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile

Finished 🙂

run history command, the output should looks like the following.

1014 12/03/10 01:13:44 who -r

1015 12/03/10 01:13:45 history