Linux history命令显示时间 moneyslow 2 years ago Linux命令 需要添加一个变量,例如放到/etc/profile里: export HISTTIMEFORMAT="%F %T " source /etc/profile 或者退出重新进入系统,敲入history命令,就可以看到执行时间 Linux history命令显示时间