Basta criar o seguinte script

/etc/profile.d/history_timestamp.sh<br />

Com o conteúdo abaixo:

#/bin/bash<br /> ## This is a customization to allow to show timestamp when using history<br /> export HISTTIMEFORMAT='%F %T '

Ex:

998 2016-02-19 18:34:15 history<br /> 999 2016-02-19 18:39:45 ps aux<br /> 1000 2016-02-19 18:39:52 cd /var/log