I wants to check on my linux system that when which command was fire with which date and time.
I did fire below command,
It depends on the shell (and its configuration) in standard bash only the command is stored without the date and time (check
.bash_history if there is any timestamp there).
To have bash store the timestamp you need to set
HISTTIMEFORMAT before executing the commands, e.g. in
.bash_profile. This will cause bash to store the timestamps in
.bash_history (see the entries starting with