Set the history to show a timestamp for your command history (for the current terminal session only) by using this command: HISTTIMEFORMAT="%F %T " Now type history and you should see timestamp for your Bash history commands. Source