Last Updated: February 25, 2016
·
888
· wieshka

Linux history - log date for records in history

In case, someone else has access to server that you are responsible for, it is good to set history time logging format.
All history events will be logged together with timestamp.

export HISTTIMEFORMAT="%F %T "history