linux让 history命令显示历史命令执行时间

执行以下命令设置环境变量

export HISTTIMEFORMAT="%F %T "

执行 history

history

猜你喜欢

转载自blog.csdn.net/qq_36940806/article/details/134695300