Tag Archives: history bash command time date linux centos rhel

Configure Display Date and Time in Bash History Command on CentOS/RHEL

Scenario: How to display date and time in bash history command on CentOS/RHEL.

By default default history command output didn’t show date and time.

[bachem@centos7ht ~]$ history
 1 sudo su
 2 su -
 3 sudo su
 4 su -
 5 ulimit -a

Continue reading