让 history 命令显示日期和时间

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

source /etc/profile

posted @ 2019-07-23 11:25  qinliang  阅读(1019)  评论(0编辑  收藏  举报