Add TimeStamp in Linux History Command – .Bashrc
Run below command in your terminal.
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> /root/.bashrc
A Solutionist
Run below command in your terminal.
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> /root/.bashrc