Date and time of run commands in history
how i can get the real time when the command has been executed and not the logout time ?</p>
Add following line in .bashrc file or .bashrc_logon
HISTTIMEFORMAT="%h-%d-%Y - %H:%M:%S "</div>
Good for Nothing
Add following line in .bashrc file or .bashrc_logon
HISTTIMEFORMAT="%h-%d-%Y - %H:%M:%S "</div>