1
2
// .bashrcなどに追記
export HISTTIMEFORMAT='[%F %T] '
1
2
3
4
5
$ history
1066 [2019-01-24 12:35:07] find . -maxdepth 1 -name "*.jpg" | xargs -IXXXX echo XXXX
1067 [2019-01-24 12:35:11] find . -maxdepth 1 -name "*.png" | xargs -IXXXX echo XXXX
1068 [2019-01-24 12:35:17] find . -name "*.png" | xargs -IXXXX echo XXXX
1069 [2019-01-24 12:37:19] history