让 history 命令显示日期和时间

echo 'HISTTIMEFORMAT="%F %T "' >> /etc/profile

source /etc/profile

posted @ 2019-08-05 14:18  AllenHU320  阅读(2104)  评论(0编辑  收藏  举报