vi ~/.bashrc vi /etc/bash.bashrc export HISTTIMEFORMAT='%F %T ' export HISTTIMEFORMAT='%Y-%m-%d %H:%M '