history历史命令 显示命令执行时间
history历史命令 显示命令执行时间
centos7/6
vim /etc/profile
export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "
source /etc/profile
职称
history历史命令 显示命令执行时间
centos7/6
vim /etc/profile
export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "
source /etc/profile