how i can get the real time when the command has been executed and not the logout time ?
Add following line in .bashrc file or .bashrc_logon
HISTTIMEFORMAT="%h-%d-%Y - %H:%M:%S "
Add following line in .bashrc file or .bashrc_logon
HISTTIMEFORMAT="%h-%d-%Y - %H:%M:%S "
No comments:
Post a Comment