See timestamp in bash history

Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also?

echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bashrc
source ~/.bashrc
Direct link to article

Leave a Reply

Be the First to Comment!

avatar
  Subscribe  
Notify of