how to know the time of execution of previous commands

linux的bash中,history命令可以看到1000行历史命令,但是没有执行时间。

如果想添加历史命令时间,可以这样做。

Try to run this command from terminal:

HISTTIMEFORMAT="%d/%m/%y %T "

Then now run history:

history
posted @ 2016-12-29 16:26  Aaron帅  阅读(107)  评论(0)    收藏  举报