linux历史命令history 增加时间记录
编辑环境变量文件
vi ~/.bashrc
添加配置
export HISTTIMEFORMAT=' %F %T '
刷新环境变量
source ~/.bashrc