This is useful tip when you need to check exact time of a bash command you've run in the past. You can check your CLI command history by history
command on your terminal.
Warning Time information will be recorded in your system as soon as you make to following changes. The commands prior to that will not have correct dates.
Solution is to identify HISTTIMEFORMAT
variable. The following command line can be pasted in ~/.bashrc
file.
HISTTIMEFORMAT="%F %T "