shell笔记-history命令

history命令结果中显示时间

HISTTIMEFORMAT=' %F %T '
export HISTTIMEFORMAT

开机后会还原,可以写入/etc/profile

 

google搜索: "index of/" linux

posted on 2013-01-07 13:33  callinglove  阅读(93)  评论(0)    收藏  举报

导航