Closed hyschive closed 3 years ago
Record the bash history timestamp (date and time) on all nodes.
By edit the file /etc/profile Adding the line export HISTTIMEFORMAT='%d/%m/%y %T ' at the end of file. And execute command source /etc/profile
/etc/profile
export HISTTIMEFORMAT='%d/%m/%y %T '
source /etc/profile
Goals
Record the bash history timestamp (date and time) on all nodes.