history命令查看操做時間

export HISTTIMEFORMAT="%F %T `whoami` " 給history加上時間戳      展現:  1013  2016-08-08 12:15:40 root y  1014  2016-08-08 12:15:41 root df  1015  2016-08-08 12:16:00 root history  1016  2016-08-08 12:17:13 r
相關文章
相關標籤/搜索