Add timestamp to bash history
Migrated from: https://tracker.clearos.com/view.php?id=18191
Reported by: Ben Chambers
It would be nice for support/troubleshooting to have a timestamp of when command line changes were made.
Consider adding HISTTIMEFORMAT="%b %d %Y %T "
to /etc/profile.d/clearos.sh so that 'history' command returns something like:
998 Dec 10 2017 12:23:39 history
999 Dec 10 2017 12:23:50 vi /etc/profile.d/clearos.sh
1000 Dec 10 2017 12:23:55 history