date and time in bash history for logging purpose Apr 5, 2016 22:47:33 GMT -5 Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ZF on Apr 5, 2016 22:47:33 GMT -5 HISTTIMEFORMAT="%d/%m/%y %T "Save the above in .bash_profile or .bashrc to make it permanentIf you use sudo -i, repeat for root account