让 history 命令显示日期和时间

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

source /etc/profile

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