0

How to check history command with time

Hi, use history command to check the previously executed commands on my server but there is no time of execution, how do I get the time information on history command?

yousuf
asked Aug 24, 2018
1 Answer
0

If you want it to log history for permanent, you should put the following line in your ~/.bashrc

export HISTTIMEFORMAT="%d/%m/%y %H:%M "

View More
linuxhelp
answered Jan 29, 2019
Your Answer
||||
 
100:0