history添加时间标记

[root@WangGaoli ~]# grep 'HISTTIMEFORMAT' .bashrc 
export HISTTIMEFORMAT='%F %T '
[root@WangGaoli ~]# source .bashrc
[root@WangGaoli ~]# history
  962  2018-07-31 14:10:16 history 
  963  2018-07-31 14:10:30 vim .bashrc 
  964  2018-07-31 14:10:35 source .bashrc
-------------本文结束感谢您的阅读-------------